adaptive_shell 1.0.0+1
adaptive_shell: ^1.0.0+1 copied to clipboard
An adaptive master-detail layout wrapper for Flutter. Automatically switches between BottomNavigationBar (mobile) and NavigationRail (tablet/web/desktop), showing child1 always and child2 beside it on [...]
1.0.0 #
- Initial release with two APIs:
AdaptiveShell— flexible wrapper withchild1/child2for full manual control over both panes, navigation, and state.AdaptiveMasterDetail<T>— zero-boilerplate generic widget withitemBuilder/detailBuilder. Handles selection state, navigation (push on mobile, side-pane on tablet), and responsive layout switching automatically.
- Automatic
NavigationBar(compact) /NavigationRail(medium/expanded) switching. AdaptiveShell.of(context)for descendant layout-mode awareness.AdaptiveShell.isTwoPane(context)convenience helper.AdaptiveBreakpointswith Material 3 window size class defaults +tabletFirstpreset.AdaptiveDestinationwith badge support.emptyDetailPlaceholderfor large screens with no selection.masterHeaderandmasterBuilderfor custom master pane layouts.compactDetailScaffoldBuilderfor custom mobile detail screen wrapping.- Animated pane transitions with configurable duration.
- Full support for Android, iOS, web, macOS, Windows, Linux.