navigation_utils 0.7.7
navigation_utils: ^0.7.7 copied to clipboard
The missing navigation library for Navigator 2. NavigationUtils is the simplest way to add Flutter's Navigator 2 into your applications.
0.7.7 #
- Loosen Flutter constraints to prepare for Predictive Back Navigation breaking change.
0.7.5 #
- Fix
initialRouteincorrectly parsing query parameters as path. - Update examples to Flutter v3.24.0.
0.7.4 #
- Add
NavigationManager.instance.routesconvenience method for accessing the list of active routes. - Add
onPopPagecallback toDefaultRouterDelegatefor overriding global back navigation.
0.7.3 #
- Create
removeGroupfunction for removing Nested Navigation groups. - Add option to set the NavigationListenerMixin's route name.
- Set and override the
routeNameof the current page.
- Set and override the
0.7.2 #
- Simplify Nested Navigation
NavigationManager.nestedusage by bundling_removeDuplicateWidgetsfunctionality by default. - Add Nested Tabs example.
0.7.1 #
- New AnimatedStack widget makes it easy to build nested navigation!
- Add custom page transition animations. Use any of Flutter's built in transitions like
FadeTransition,ScaleTransition, etc. - Or, use the included
SharedAxisAnimationandFadeThroughAnimationeffects.
- Add custom page transition animations. Use any of Flutter's built in transitions like
- Optimized performance! AnimatedStack is optimized to prevent page rebuilds.
0.7.0 #
- Nested Navigation support. Welcome to the easiest nested navigation ever!
- Build nested routes with
NavigationManager.instance.nested(). - Assign the same
groupparameter to eachNavigationDatato define a nested route. - Support 100% customizable page transitions.
- Build nested routes with
0.6.0 #
- Flutter v3.22.0 support.
- Add URL alias
groupand DeeplinkredirectFunctiondocumentation. - Fix
setMainRoutesnot set correctly. - Simplify Auth Example authentication code.
0.5.2 #
- Fix Redirect not applying default navigation.
0.5.1 #
- Fix DefaultRoute incorrect group equality comparator on null.
0.5.0 #
- Create Deeplink Redirect feature.
- Support an async redirect function.
- Call
redirect(label, url)to navigate to another page.
- Fix incorrect null group comparison breaking navigation.
0.4.1 #
- Create NavigationData
groupparameter to support mapping different URLs to a single page.
0.4.0 #
- Update Flutter v3.16.9.
- Add documentation for
NavigationManagerfunctions. - Create pop
inclusive. Support popping the page including itself. - Create
removeAbovefunction to support removing a page above another page. - Create
ShouldNavigateDeeplinkFunctioncallback parameters. Adds support for conditional deeplink navigation logic based on the URL and query parameters. - Fix missing
excludeDeeplinkNavigationPages. - Update example dependencies.
0.3.2 #
- Create
LifecycleObserverStateMixinfor StatefulWidgets. - Update LifecycleObserverMixin with new
onHiddenlifecycle callback. - Fix BuildContext disposed and mounted not checked.
- Create Lifecycle Callbacks Example.
- Document onRoutePause.
0.3.1 #
- Fix
NavigationListenerMixinto returnonRouteResumedcorrectly. - Fix set URL as RouteSettings name instead of unformated path template.
0.3.0 #
- Create
pauseNavigationandresumeNavigationmethods. Use to defer handling navigation.- Useful for showing a loading screen while fetching auth or app state during initialization.
- Create
setOverlayandremoveOverlaymethods. Display a Page overlay on top of existing routes without changing the URL or navigation structure.- Useful for displaying a passcode or lock screen on top of all pages.
- Create
main_auth_delay.dart,main_initial_route.dart, andmain_lock_screen.dartexamples.
0.2.1 #
- Add a new optional parameter
allto thepopmethod. Popalloverrides the safety check that prevents removing all pages. - Update usage of
popUntilandpushReplacementRoutemethods to useallparameter. - Set initialRoute to the full URI instead of just the path in DefaultRouteInformationParser class.
0.2.0 #
- Update deprecated RouteInformation. Use Uri instead of location string.
- Fix add route empty check to all notify route changed calls.
0.1.9 #
- Fix crash when pushing onto empty stack.
0.1.8 #
- Create navigation route updates for
NavigationManager.instance.getCurrentRoutebroadcast stream. - Listen to route changes and updates with
NavigationManager.instance.getCurrentRoute.listen((DefaultRoute currentRoute) {});
0.1.7 #
- Fix ability to push the same route with different query parameters.
0.1.6 #
- Update global data to support duplicate routes.
0.1.2 #
- Added support for pushing the same route with different path parameters.
- For example, pushing the same
ProjectPagewith different path parameters/project/1,/project/2, etc is now supported.
0.1.1 #
- Create
NavigationUtils.canOpenDeeplinkDestination. - Added a new parameter
pushtoNavigationUtils.openDeeplinkDestinationto override set backstack behavior and push destination directly.
0.1.0 #
- Initial Release.