flutter_page_transition
A rich, convenient, easy-to-use flutter page transition package.
Getting Started
Add this to your package's pubspec.yaml file:
You can also depend on this package stored in my repository:
You should then run
flutter packages upgrade
.Transition Type
PAGE TRANSITION TYPE | DIRECTION |
---|---|
slideInLeft | ⬅️ |
slideInLeft | ➡️ |
slideInUp | ⬆️ |
slideInDown | ⬇️ |
slideLeft | ⬅️ |
slideRight | ➡️ |
slideUp | ⬆️ |
slideDown | ⬇️ |
slideParallaxLeft | ⬅️ |
slideParallaxRight | ➡️ |
slideParallaxUp | ⬆️ |
slideParallaxDown | ⬇️ |
slideZoomLeft | ⬅️ |
slideZoomRight | ➡️ |
slideZoomUp | ⬆️ |
slideZoomDown | ⬇️ |
rippleRightUp | ↖️ |
rippleLeftUp | ↗️ |
transferRight | ⬅️ |
transferUp | ⬆️ |
fadeIn | ❌ |
custom | ❌ |
Example
Use PageRouteBuilder Widget
Create custom methods:
Test Driver
run driver test