route_manager 2.0.1+1 route_manager: ^2.0.1+1 copied to clipboard
A package to manage and simplify routing with Navigator 2.0.
2.0.1+1 #
Fixed path url on web, not merging correctly page names
2.0.1 #
- Added
showDialog
method toRouteDelegate
- Added
showModal
method toRouteDelegate
- Fixed issues and unintended behaviours when calling
popRoute
with open modals or dialogs
2.0.0+2 #
Improved previous fix for page popped instead of eventually shown dialog when pressing physical back button on Android, having unintended behaviour on web
2.0.0+1 #
Fixed page popped instead of eventually shown dialog when pressing physical back button on Android
2.0.0 #
- Fixed unintended behaviour with urls on web when pushing new pages that replaced entirely the url instead of adding a path segment.
- Updated and fixed Readme with latest APIs
- Added more tests
BREAKING Huge refactor of APIs signatures:
push
has been renamedpushNamed
pushWidget
has been renamedpush
pushAndPop
has been splitted and renamedpushReplacementNamed
andpushReplacement
- all the deprecated methods have been deleted
1.1.4 #
- Added
pushWidget
API to allow pushing widgets instead of named routes. - Extended and simplified logic to retrieve values returned when popping pages awaiting the push
1.1.3 #
Initial GitHub release, updated dependencies. Requires Dart 3.
1.1.2 #
Added example app.
1.1.1 #
Added deprecation notice for old APIs, added new push
, popTo
, pushAndWait
, popAll
APIs as replacement.
1.1.0 #
- BREAKING - Modified
initialRoute
parameter ofRouteManager
toinitialRouteInfo
to set a rule to redirect to a different root page. - Added
authenticationWrapper
parameter toRouteManager
andrequiresAuthentication
parameter toRouteInfo
to specify an auth-guard widget to wrap routes. - Fix to
popToRoot
method having unintended behaviour in case of initial route name different from "/"
1.0.5 #
Added allowSwipeToPopOnIOS
parameter to RouteManager
to disable the swipe to pop gesture on iOS.
1.0.4 #
Added the possibility to get the root RouteManager
with the of
method when using nested Routers.
1.0.3 #
Added a method to access the root navigator context in RouteManager
constructor.
1.0.2 #
Added possibility to disable transitions animations when changing pages/routes with a parameter in RouteManager
.
1.0.1 #
Added the RouteManagerWillPopScope
widget to override the popRoute behaviour (such as when tapping the physical back button on Android).
1.0.0 #
First stable release. Added docs and readme, polished code.
0.0.1 #
Initial release. Contains an advanced implementation of "Navigator 2.0", completely customizable, to manage in-app routing and navigation, on every platform. This release exposes the following widgets and methods:
- RouteManager
- RouteInfo
- RouterManager