sailor 0.7.1
sailor: ^0.7.1 copied to clipboard
Easily manage page navigation/routing in Flutter apps. Add page transition animations, log navigation events.
0.7.0 7 April 2020 #
- Fix Sailor API's to be compatible with latest Flutter API's.
Breaking Change:Sailor.popreturnsvoidinstead ofbool.
0.6.0 14 November 2019 #
- Route Guards: Prevent routes from being opened based on a condition.
- More type checking for
SailorParams:SailorParams<T>now accept a generic typeT, of the type of paramter that is required to be passed. When opening a route,runtimeTypeof the passed value is compred to theTpassed when declaringSailorParam<T>. - Provider
navigationKey: An externalnavigatorKeycan be provided to sailor usingSailorOptions.
0.5.0 20 September 2019 #
- Add support for providing your own custom transitions.
0.4.0 3 September 2019 #
- Add support for passing parameters when navigating route.
0.3.0 August 2019 #
- BREAKING CHANGE:
Sailor.argumentsmethod is removed and replaced withSailor.args.
[0.3.0] - 19 August 2019 #
SailorStackObserverlets you get the current stack of routes.- Fix
crashing while retrievingargumentswhen usingNavigationType.pushAndRemoveUntil`. - Refactor logs in
SailorLoggingObserver.
0.2.0 4 August 2019 #
- BREAKING CHANGE:
Sailornow uses anavigatorKeyto carry out all navigation operations, there is no need of passingcontextany more in any of sailor's instance methods. Make sure to add Sailor'snavigatorKeyin yourMaterialApporCupertinoApp.
0.1.0 2 August 2019 #
0.0.5 2 August 2019 #
- Inbuilt page transitions.
0.0.4 18 May 2019 #
- Launch multiple routes at the same time using
navigateMultiple. - Ability to add default arguments when registering routes with
addRoute.