Skip to content

Commit

Permalink
Update BottomNavigationBar tests for M3 (#136624)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bleroux authored Nov 6, 2023
1 parent 2e016b9 commit 59d4d76
Show file tree
Hide file tree
Showing 2 changed files with 642 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ class _BottomNavigationBarState extends State<BottomNavigationBar> with TickerPr
removeBottom: true,
child: DefaultTextStyle.merge(
overflow: TextOverflow.ellipsis,
child: Row(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: _createTiles(layout),
),
Expand Down
Loading

0 comments on commit 59d4d76

Please sign in to comment.