0 purchases
wave transition
wave_transition #
The package will provide smooth wave transitions between pages without having to write any boilerplate code.
Getting Started #
[Example] (https://github.com/sonykurian96/wave_transition/blob/master/example/lib/main.dart)
To use this package : *add the dependency to your [pubspec.yaml] file
dependencies:
flutter:
sdk: flutter
wave_transition:
copied to clipboard
use case #
onPressed: () {
Navigator.push(
context,
WaveTransition(
child: SecondScreen(),
center: FractionalOffset(0.90, 0.90)
duration: Duration(milliseconds: 3000) // optional
)
);
},
copied to clipboard
You can pass arguments using RouteSettings ->
settings: RouteSettings(
arguments: "yeah! it works!"
)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.