File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,23 +39,23 @@ void main() {
39
39
40
40
Future <void > setupChipsInBox (WidgetTester tester, {
41
41
required List <Reaction > reactions,
42
- double ? width,
43
- TextDirection ? textDirection,
42
+ double width = 245.0 , // (seen in context on an iPhone 13 Pro)
43
+ TextDirection textDirection = TextDirection .ltr ,
44
44
}) async {
45
45
final message = eg.streamMessage (reactions: reactions);
46
46
47
47
await tester.pumpWidget (
48
48
MaterialApp (
49
49
home: Directionality (
50
- textDirection: textDirection ?? TextDirection .ltr ,
50
+ textDirection: textDirection,
51
51
child: GlobalStoreWidget (
52
52
child: PerAccountStoreWidget (
53
53
accountId: eg.selfAccount.id,
54
54
child: Center (
55
55
child: ColoredBox (
56
56
color: Colors .white,
57
57
child: SizedBox (
58
- width: width ?? 245.0 , // (seen in context on an iPhone 13 Pro)
58
+ width: width,
59
59
child: ReactionChipsList (
60
60
messageId: message.id,
61
61
reactions: message.reactions! ,
You can’t perform that action at this time.
0 commit comments