adaptive_shell 1.0.0+2
adaptive_shell: ^1.0.0+2 copied to clipboard
Adaptive master-detail layout for Flutter apps that automatically switches between compact and two-pane layouts across mobile, tablet, and desktop.
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.
