0 purchases
transitioner
Transitioner Package #
This package helps how to manage transitions between different views/pages.
I am going to add more types of transitions, keep posted.
Getting Started #
In the pubspec.yaml of your flutter project, add the following dependency:
dependencies:
transitioner: ^0.1.0
copied to clipboard
Use example case #
Transitioner(
context: context,
child: UnoPage(),
animation: AnimationType.fadeIn, // Optional value
duration: Duration(milliseconds: 2000), // Optional value
replacement: true, // Optional value
curveType: CurveType.decelerate, // Optional value
);
copied to clipboard
Attributes #
List of possible attributes on Transitioner Class.
Required #
context: from the BuildContext
child: destiny View/Page Class
Optional #
animation: Defaults Normal, type of transition to show
duration: Default 300ms, duration of animation
replacement: Default false, entirely the scope or not
curveType: Default ease, type of animationCurve to show
Different types of principal Transition #
normal
fadeIn
slideRight
slideLeft
slideTop
slideBottom
scale
Different types of Curves #
ease
bounce
bounceOut
decelerate
elastic-linear
Video Example #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.