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(),
);
}