Skip to main content
The app’s floating bottom navigation: a pill (stadium) bar that hovers above the content with an optional FAB beside it. Source: styled_navigation_bar.dart.

StyledNavigationBar

Anatomy: 64 px tall, stadium shape, surfaceBg fill with a 3 px inside surfaceElevated stroke, strong drop shadow (black-54, blur 12), 24 px outer padding, bottom SafeArea. Callers own show/hide animation — the bar itself doesn’t animate visibility.

Tokens consumed

surfaceBg, surfaceElevated, contrastStrong, contrastWeak, badgeRed; typography buttonSmall.

Real usage

lib/widgets/navigation/navigation_shell.dart — the app’s main shell renders the bar under an IndexedStack of tabs and passes the session FAB.