0 purchases
custom page route
custom_page_route #
A cutom animation for page route.
Getting Started #
** CustomPageRoute class constructor **
CustomPageRoute({
required Widget child,
AxisDirection axisDirection = AxisDirection.right,
Duration transitionDuration = const Duration(milliseconds: 500),
Duration reverseTransitionDuration = const Duration(milliseconds: 500)
})
copied to clipboard
Example,
Navigator.push(
context,
CustomPageRoute(
axisDirection: AxisDirection.left,
child: Page1(),
),
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.