Last updated:
0 purchases
jhs transitions
Transition Package - @hajduksanchez #
This package help you to handle navigation between pages, using some animations and configuration with some params.
Install the package:
flutter pub add jhs_transitions
copied to clipboard
Basic usage #
Basic example of the navigation
HsTransitions(
context: context,
child: const SecondPage(), // Final page
);
copied to clipboard
With animation #
Navigation using a specific animation
HsTransitions(
context: context,
child: const SecondPage(), // Final page
animation: AnimationType.fadeIn,
);
copied to clipboard
With duration #
Animation duration to handle the time of the transition
HsTransitions(
context: context,
child: const SecondPage(), // Final page
animation: AnimationType.fadeIn,
duration: const Duration(milliseconds: 300)
);
copied to clipboard
With replacement #
This replacement help to navigate and delete the previous page
HsTransitions(
context: context,
child: const SecondPage(), // Final page
animation: AnimationType.fadeIn,
duration: const Duration(milliseconds: 300),
replacement: true
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.