jhs_transitions 0.1.1 icon indicating copy to clipboard operation
jhs_transitions: ^0.1.1 copied to clipboard

A package project to handle navigation between pages, with some animations.

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

Basic usage #

Basic example of the navigation

HsTransitions(
	context: context,
	child: const SecondPage(), // Final page
);

With animation #

Navigation using a specific animation

HsTransitions(
	context: context,
	child: const SecondPage(), // Final page
	animation: AnimationType.fadeIn,
);

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)
);

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
);
1
likes
130
pub points
0%
popularity

Publisher

unverified uploader

A package project to handle navigation between pages, with some animations.

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on jhs_transitions