Last updated:
0 purchases
as route transitions
AS Route Transition #
This package helps to handle transitions between screens easily.
Usage #
import 'package:as_route_transitions/as_route_transitions.dart';
RouteTransitions(
context: context, // Build Context
child: const PageToTransition(), // Page Widget
animation: AnimationType.rotateIn, // Animation Type
duration: const Duration(milliseconds: 600), // Enter Animation Duration
reverseDuration: const Duration(milliseconds: 600), // Out Animation Duration
alignment: Alignment.center, // Aligment of Rootate Type Animation
replacement: true, // Replace page ?
curve: Curves.easeInOutBack, // Curve of Animation Type
);
/// Basio example
RouteTransitions(
context: context, // Build Context
child: const PageToTransition(), // Page Widget
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.