adaptive_navigation_view 2.0.0
adaptive_navigation_view: ^2.0.0 copied to clipboard
A Flutter package for creating adaptive navigation views that seamlessly adapt to different platforms and devices.
2.0.0 #
Feat #
- Support for navigation by index or by named path in
PaneItemDestination. You can now use named paths for navigation in your pane destinations:
NavigationPane(
controller: controller,
children: [
PaneItemDestination(
icon: Icon(Icons.home),
label: Text('Home'),
path: '/',
),
PaneItemDestination(
icon: Icon(Icons.person),
label: Text('Profile'),
path: '/profile',
),
],
)
- Support for hierarchical (nested) navigation using
childreninPaneItemDestination. - Documentation and examples for using children (sub-items) in navigation menus.
Changed #
NavigationViewnow requires aNavigationViewControllerto be passed via thecontrollerparameter. The controller is now responsible for handling all navigation state and pane animations.- If a
PaneItemDestinationhas children, it is now only expandable/collapsible and not directly navigable/selectable. Only its children are considered navigable destinations. - Rename
PaneThemeforNavigationTheme,PaneThemeDataforNavigationThemeData.
1.1.1 #
Fixed #
- Fixed a bug in the
NavigationView,PaneControllerandPaneItemDestination. - Fixed memory leak
PaneController.
1.1.0 #
Feat #
- Added
footersproperty to Navigation Pane for displaying additional widgets after the main navigation items. - Added
additionalLendingfeature to Navigation App Bar.
Fixed #
- Fixed a bug in the
PaneController. - Migrates deprecated
MaterialStateandMaterialStatePropertytoWidgetStateandWidgetStateProperty.
1.0.1 #
Fixed #
- Fixed a bug in the Navigation App Bar that affected layout in Compact mode.
- Fixed a bug in the Navigation Pane that prevented correct operation in Compact mode.
1.0.0 #
- Initial release
