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