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:
use case
onPressed: () {
Navigator.push(
context,
WaveTransition(
child: SecondScreen(),
center: FractionalOffset(0.90, 0.90)
duration: Duration(milliseconds: 3000) // optional
)
);
},
You can pass arguments using RouteSettings ->
settings: RouteSettings(
arguments: "yeah! it works!"
)