0 purchases
transition plus
transition plus #
You can use this package for transition between screens with interesting way with amazing animation.
Demo of scale transition #
How to use it #
First of all you need to add it to pubspec.yml .
dependencies:
transition_plus: 0.0.12
copied to clipboard
Then import it to your class
import 'package:transition_plus/transition_plus.dart';
copied to clipboard
Now you can use it 🐱🏍.
Navigator.push(context, ScaleTransition1(page: SecondPage())),
copied to clipboard
Diffrent animation #
By default transition is start from center of screen. You can change it like this
Navigator.push(context, ScaleTransition1(page: SecondPage(), type: ScaleTrasitionTypes.bottom)),
copied to clipboard
List of animation type for scale transition #
// trasition that start from bottom to top
bottom
// trasition that start from top to bottom
top
// trasition that start from bottom left
bottomLeft
// trasition that start from bottom right
bottomRight
// trasition that start from center
center
// trasition that start from right
right
// trasition that start from left
left
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.