route_animation_helper 2.0.0+7 copy "route_animation_helper: ^2.0.0+7" to clipboard
route_animation_helper: ^2.0.0+7 copied to clipboard

RouteAnimationHelper class, assists you to animate your route transitions.

[2.0.0+7] - Added mandatory BuildContext param to allow access to root context, for example for using Theme.of(context) from destination page.

[2.0.0+6] - Support Null Safety.

[1.0.0+5] - Added Size Animation.

[1.0.0+4] - Added Cubic Animation.

To use it you need to supply the current screen, you can also change the background color of the transition.

Navigator.of(context).push(RouteAnimationHelper.createRoute(
        // current page is mandatory only if you are using cubic animation.
        currentPage: this.widget,
        destination: Screen2(),
        animType: AnimType.cubic,
        cubicBackgroundColor: Colors.white));
  }
)

[1.0.0+3] - Corrected Indentation

[1.0.0+2] - Added Dart docs.

[1.0.0+1] - Release.

  • First Version, Included 5 transitions types: slideStart, slideBottom, scale, fade, rotate
10
likes
120
pub points
64%
popularity

Publisher

verified publishergeromino-apps.com

RouteAnimationHelper class, assists you to animate your route transitions.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cupertino_icons, flutter

More

Packages that depend on route_animation_helper