Skip to content

Commit 59d4d76

Browse files
authored
Update BottomNavigationBar tests for M3 (#136624)
This PR updates `BottomNavigationBar` unit tests for M3 migration. More info in flutter/flutter#127064 It was somewhat complex because existing tests relied on a lot of magic numbers.
1 parent 2e016b9 commit 59d4d76

File tree

2 files changed

+642
-23
lines changed

2 files changed

+642
-23
lines changed

packages/flutter/lib/src/material/bottom_navigation_bar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ class _BottomNavigationBarState extends State<BottomNavigationBar> with TickerPr
11591159
removeBottom: true,
11601160
child: DefaultTextStyle.merge(
11611161
overflow: TextOverflow.ellipsis,
1162-
child: Row(
1162+
child: Row(
11631163
mainAxisAlignment: MainAxisAlignment.spaceBetween,
11641164
children: _createTiles(layout),
11651165
),

0 commit comments

Comments
 (0)