go_transitions 0.8.1
go_transitions: ^0.8.1 copied to clipboard
Easily create, combine and apply transitions to routes with GoTransitions.
Changelog #
0.8.1 #
- Fix #6, bump
go_router
to '>=13.0.0 <16.0.0'
Thanks to paulking86
!
0.8.0 #
- Added
GoTransitionRoute
for using transitions outside go_router, ex:Navigator.push
. - Added #5
GoTransition.build(GoRouterWidgetBuilder? builder)
alternative tochild
.
Thanks to fiet-kyo
!
- Improved inferred
GoRouter.builder
child inGoTransition.call
. - Fixed missing
GoTransitionPage.builder
default implementation. - Updated
README.md
with details about the new features. - Moved
canPop
&onPopInvoked
toGoTransitionSettings
. - 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.canPop
andPage.onPopInvoked
toGoTransitionPage
,GoTransition
,MaterialGoTransition
andCupertinoGoTransition
.
0.6.0 #
- Added
withBackGesture
modifier.
0.5.3 #
- Fixed #2
GoTransitions.cupertino
back swipe gestures.
Thanks to Clon1998
!
0.5.2 #
- Bump
go_router
for14.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
GoTransitionStyle
dedicated class for defining transition styles. - Added
GoTransitionSettings
dedicated class for defining transition settings. - Added
GoTransitionModifiers.withStyle
for modifing the style of a GoTransition. - Added
GoTransitionModifiers.withSettings
for 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.previousChildOf
to get the child of any previous route. RequiresGoTransition.observer
. - Added
GoTransitions.onPrevious
for 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
,dialog
andbottomSheet
instances to factory getters.
0.3.2 #
- Added 'child' property to
GoTransition.build
for those who want to explicitly define the child widget, instead of using the default resolvedchild
of the pushedGoRoute.builder
.
0.3.1 #
- Improved location matcher for
GoTransition.build
.
0.3.0 #
Introduces GoTransitionPage
, an extended CustomTransitionPage
with:
PageTransitionsBuilder.buildTransitions
as pageTransitionsBuilder.PageRoute.canTransitionTo
as canTransitionTo.PageRoute.canTransitionFrom
as canTransitionFrom.PageRoute.allowSnapshotting
as 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
RouteTransitionsBuilder
toPageRouteTransitionsBuilder
for consistency withflutter
'sPageRouteBuilder
. - Added
canTransitionTo
andcanTransitionFrom
toGoTransition.build
. - Added
!fullscreenDialog
guard as default clause tocanTransitionTo
, needed for usingMaterialPage
andCupertinoPage
transitions, 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.