bottom_shell_nav 0.2.0
bottom_shell_nav: ^0.2.0 copied to clipboard
A route-aware, persistent and adaptive bottom navigation shell for Flutter with go_router/auto_route modes, badges and custom renderers.
0.2.0 #
Added #
BottomShellGuardDecisionandonSelectionGuardfor rich guard decisions, block reasons, metadata and redirect callbacks.BottomShellVisibilityControllerfor programmatic compact bottom bar visibility control.AdaptiveNavigationPolicy.layoutForWidthandBottomAdaptiveLayoutfor explicit adaptive layout resolution.BottomShellRouteEventandonBranchRouteEventfor detailed core branch navigator events.BottomShellBodyTransitionfor branch body fade, slide, scale and custom transition builders.selectedFlexandunselectedFlexoptions toBottomShellAppearance.floatingPillandFloatingPillBottomBarRenderer.
Changed #
- Floating Pill renderer now gives the selected destination more horizontal space by default, reducing label truncation on compact mobile widths.
0.1.0 #
Added #
- Initial
bottom_shell_navpackage identity. - Persistent
BottomShellcore mode with branch navigators. - Same-package
go_routermode throughBottomShell.router. - Material and Floating Pill renderers.
- Badge, policy, appearance, theme and controller APIs.
- Core and
go_routerexample apps. - Pub.dev-ready README with core, router, badge, policy and custom bar usage.
- Adaptive NavigationRail policy.
- Scroll-to-hide and scroll-to-top policies.
- Disabled destinations and async tab guard support.
- Cupertino renderer.
- Same-package
auto_routemode throughBottomShell.autoRoute. - Selected tab state restoration and branch navigator restoration ids.
- Public controller actions:
select,reselectCurrent,popToRootandcanPopBranch. - Custom adaptive
railBuilderanddrawerBuilder. - Keyboard destination shortcuts.
- Optional haptic feedback policy.
- Async guard pending-state policy and blocked-selection callback.
- Branch entered/exited/reactivated lifecycle callbacks.
- Core branch route-change callback.
ScrollToTopRegistryfor branch-specific scroll controllers.- Extended NavigationRail breakpoint support.