go_transitions 0.8.3
go_transitions: ^0.8.3 copied to clipboard
Easily create, combine and apply transitions to routes with GoTransitions.
Changelog #
0.8.3 #
- bump
go_routerto '>=13.0.0 <18.0.0'
Thanks to runoob-coder !
0.8.2 #
- Fix #8, bump
go_routerto '>=13.0.0 <17.0.0'.
Thanks to realtec !
0.8.1 #
- Fix #6, bump
go_routerto '>=13.0.0 <16.0.0'
Thanks to paulking86 !
0.8.0 #
- Added
GoTransitionRoutefor using transitions outside go_router, ex:Navigator.push. - Added #5
GoTransition.build(GoRouterWidgetBuilder? builder)alternative tochild.
Thanks to fiet-kyo!
- Improved inferred
GoRouter.builderchild inGoTransition.call. - Fixed missing
GoTransitionPage.builderdefault implementation. - Updated
README.mdwith details about the new features. - Moved
canPop&onPopInvokedtoGoTransitionSettings. - Bump min sdk to 3.5.0 to match flutter >= 3.24.0.
0.7.1 #
- Fixed #4 'noSuchMethod' implementation on flutter 3.27.0.
Thanks to Clon1998!
0.7.0 #
- Bump min version constraints to flutter 3.24.0.
- Added
Page.canPopandPage.onPopInvokedtoGoTransitionPage,GoTransition,MaterialGoTransitionandCupertinoGoTransition.
0.6.0 #
- Added
withBackGesturemodifier.
0.5.3 #
- Fixed #2
GoTransitions.cupertinoback swipe gestures.
Thanks to Clon1998!
0.5.2 #
- Bump
go_routerfor14.0.0.
0.5.1 #
- Fixed allowSnapshotting recursive call.
0.5.0 #
The package was internally rewritten to make it completely compatible with native classes such as Page, CupertinoPage, MaterialPage when transitionating between them. Which was not possible before if you were using both them and GoTransitions.
- Removed super enums in favor of static instances.
- Added
GoTransitionStylededicated class for defining transition styles. - Added
GoTransitionSettingsdedicated class for defining transition settings. - Added
GoTransitionModifiers.withStylefor modifing the style of a GoTransition. - Added
GoTransitionModifiers.withSettingsfor modifing the settings of a GoTransition.
Experimental: Now you can apply complex transitions on both previous and current routes at the same time, or simply animate just the previous route for "reveal" transitions:
- Added
GoTransition.observer. - Added
GoTransition.previousChildOfto get the child of any previous route. RequiresGoTransition.observer. - Added
GoTransitions.onPreviousfor applying transitions on the previous route. RequiresGoTransition.observer.
Ex: GoTransition.slide.toRight.onPrevious.
Thanks to jtkeyva for the contribution!
0.4.0 #
- Added
GoTransitions.material. - Changed
fullscreenDialog,dialogandbottomSheetinstances to factory getters.
0.3.2 #
- Added 'child' property to
GoTransition.buildfor those who want to explicitly define the child widget, instead of using the default resolvedchildof the pushedGoRoute.builder.
0.3.1 #
- Improved location matcher for
GoTransition.build.
0.3.0 #
Introduces GoTransitionPage, an extended CustomTransitionPage with:
PageTransitionsBuilder.buildTransitionsas pageTransitionsBuilder.PageRoute.canTransitionToas canTransitionTo.PageRoute.canTransitionFromas canTransitionFrom.PageRoute.allowSnapshottingas allowSnapshottting.
0.2.0 #
Flutter works with Widget Function(PageRoute, BuildContext, Animation<double>, Animation<double>, Widget) signature. This release changes the signature of GoTransition.builder to match this.
- Upgraded
RouteTransitionsBuildertoPageRouteTransitionsBuilderfor consistency withflutter'sPageRouteBuilder. - Added
canTransitionToandcanTransitionFromtoGoTransition.build. - Added
!fullscreenDialogguard as default clause tocanTransitionTo, needed for usingMaterialPageandCupertinoPagetransitions, so it won't perform undesired outgoing transition when the next route is a fullscreen dialog. - Hide protected api.
- Updated
README.md.
0.1.0 #
- Initial release.