@@ -1,3 +1,5 @@
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:stream_chat_flutter/src/theme/avatar_theme.dart';
|
||||
@@ -185,14 +187,16 @@ class StreamMessageThemeData with Diagnosticable {
|
||||
b.urlAttachmentTitleStyle,
|
||||
t,
|
||||
),
|
||||
urlAttachmentTitleMaxLine: IntTween(
|
||||
begin: a.urlAttachmentTitleMaxLine,
|
||||
end: b.urlAttachmentTitleMaxLine,
|
||||
).lerp(t),
|
||||
urlAttachmentTextMaxLine: IntTween(
|
||||
begin: a.urlAttachmentTextMaxLine,
|
||||
end: b.urlAttachmentTextMaxLine,
|
||||
).lerp(t),
|
||||
urlAttachmentTitleMaxLine: lerpDouble(
|
||||
a.urlAttachmentTitleMaxLine,
|
||||
b.urlAttachmentTitleMaxLine,
|
||||
t,
|
||||
)?.round(),
|
||||
urlAttachmentTextMaxLine: lerpDouble(
|
||||
a.urlAttachmentTextMaxLine,
|
||||
b.urlAttachmentTextMaxLine,
|
||||
t,
|
||||
)?.round(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -69,11 +69,11 @@ final _messageInputThemeControlMidLerp = StreamMessageInputThemeData(
|
||||
borderRadius: BorderRadius.circular(20),
|
||||
sendAnimationDuration: const Duration(milliseconds: 300),
|
||||
inputBackgroundColor: const Color(0xff87898b),
|
||||
actionButtonColor: const Color(0xff005fff),
|
||||
actionButtonColor: const Color(0xff196eff),
|
||||
actionButtonIdleColor: const Color(0xff7a7a7a),
|
||||
sendButtonColor: const Color(0xff005fff),
|
||||
sendButtonColor: const Color(0xff196eff),
|
||||
sendButtonIdleColor: const Color(0xff848585),
|
||||
expandButtonColor: const Color(0xff005fff),
|
||||
expandButtonColor: const Color(0xff196eff),
|
||||
inputTextStyle: const TextStyle(
|
||||
color: Color(0xff7f7f7f),
|
||||
fontSize: 14,
|
||||
|
||||
Reference in New Issue
Block a user