custom_page_transitions

Creator: coderz1093

Last updated:

0 purchases

custom_page_transitions Image
custom_page_transitions Images

Languages

Categories

Add to Cart

Description:

custom page transitions

Page Transitions #
This package helps to handle the animations of the screen transitions in an elegant and simple way.
Usage Example #
PageTransitions(
context: context, // BuildContext
child: Page2(), // Widget
animation: AnimationType.material, // AnimationType (package enum)
duration: Duration( milliseconds: 300 ), // Duration
reverseDuration: Duration( milliseconds: 300), // Duration
curve: Curves.easeOut, // bool
fullscreenDialog: false, // bool
replacement: false, // bool
settings: RouteSettings() // RouteSettings
);
copied to clipboard
Params Explain #
[context] is the BuildContext of the App, is required.
[child] is the screen/Widget to navigate, is required.
[animation] with this param it could change the animation, is optional.
[duration] is the animation duration, is optional.
[reverseDuration] is the reverse animation duration, is optional.
[settings] is the typical RouteSettings to send arguments, is optional.
[replacement] is the flag to navigate with pushReplacement, is optional.
[fullscreenDialog] is the flag that indicates if this new screen will be a full dialog, is optional.
[curve] is the typical Curves animation, is optional.
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.