transitioner 0.0.2 copy "transitioner: ^0.0.2" to clipboard
transitioner: ^0.0.2 copied to clipboard

outdated

This package helps how to manage transitions between different views/pages with custom curve animation also.

Transitioner #

This package helps how to manage transitions between different views/pages.
I am going to add more types of transitions, keep posted.

Getting Started #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
    transitioner: ^0.0.2

Use example case #

/// Transitioner Class
///
/// [context] from the BuildContext
/// [child] destiny View/Page
/// [animation] type of transition to show
/// [duration] duration of animation
/// [replacement] replace entirely the scope or not
/// [curveType] type of animationCurve to show
Transitioner(
    context: context,
    child: UnoPage(),
    animation: AnimationType.fadeIn, // Optional value
    duration: Duration(milliseconds: 2000), // Optional value
    replacement: true, // Optional value
    curveType: CurveType.decelerate, // Optional value
);

Different types of principal Transition #

  • normal
  • fadeIn
  • slideRight
  • slideLeft
  • slideTop
  • slideBottom
  • scale

Different types of Curves #

  • ease
  • bounce
  • bounceOut
  • decelerate
  • elastic-linear

Video Example #

17
likes
40
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

This package helps how to manage transitions between different views/pages with custom curve animation also.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

MIT (license)

Dependencies

flutter

More

Packages that depend on transitioner