Lay out phone content above navigation bar

Use the phone NavigationBar as a real Scaffold bottom slot so destination content ends at the bar rather than scrolling beneath it. Update shell regression coverage and document the focused verification.
This commit is contained in:
2026-11-12 19:25:39 +00:00
parent 767643d991
commit 08b2540ec2
4 changed files with 63 additions and 24 deletions
@@ -0,0 +1,17 @@
# Phone content ends above the bottom bar
Changed the adaptive shell to use the phone `NavigationBar` as a real
`Scaffold.bottomNavigationBar` without `extendBody`, so destination content is
constrained above the opaque bar and its system safe-area inset. The existing
floating bar keeps `extendBody` on the narrow tablet layout, preserving its
overlay composition; rail layouts are unchanged.
Added a widget regression asserting that a phone destination body's bottom edge
equals the navigation bar's top edge.
Focused verification:
- `tool/memwatch/full.sh 'test/shell/shell_navigation_bar_test.dart test/shell/floating_tab_bar_test.dart'` — 15 passed.
- `tool/analyze.sh` — clean.
Browser/device captures were not run in this implementation stage.