chore: fix tests

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2023-05-19 21:52:49 +05:30
committed by xsahil03x
parent 01a2a06a81
commit 4cb85d15c4
2 changed files with 15 additions and 11 deletions
@@ -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,