custom_route_transition_peterpaulez 0.2.0 custom_route_transition_peterpaulez: ^0.2.0 copied to clipboard
This package helps how to manage transitions between different views/pages with custom curve animation also.
Route Transitions #
This package helps how to manage transitions between different views/pages.
I am going to add more types of transitions, keep posted.
Use example case #
/// [context] from the BuildContext
/// [child] destiny widget
/// [animation] type of transition to show
RouteTransitions(
context: context,
child: UnoPage(),
animation: AnimationType.fadeIn,
duration: Duration(milliseconds: 2000), // Optional value
replacement: true, // Optional value
curveType: CurveType.decelerate, // Optional value
);