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() {
3939
4040 Future <void > setupChipsInBox (WidgetTester tester, {
4141 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 ,
4444 }) async {
4545 final message = eg.streamMessage (reactions: reactions);
4646
4747 await tester.pumpWidget (
4848 MaterialApp (
4949 home: Directionality (
50- textDirection: textDirection ?? TextDirection .ltr ,
50+ textDirection: textDirection,
5151 child: GlobalStoreWidget (
5252 child: PerAccountStoreWidget (
5353 accountId: eg.selfAccount.id,
5454 child: Center (
5555 child: ColoredBox (
5656 color: Colors .white,
5757 child: SizedBox (
58- width: width ?? 245.0 , // (seen in context on an iPhone 13 Pro)
58+ width: width,
5959 child: ReactionChipsList (
6060 messageId: message.id,
6161 reactions: message.reactions! ,
You can’t perform that action at this time.
0 commit comments