Skip to content

This flutter package will provide smooth wave transitions between pages without having to write any boilerplate code.

License

Notifications You must be signed in to change notification settings

sonykurian96/wave_transition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wave_transition

The package will provide smooth wave transitions between pages without having to write any boilerplate code.

example

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!"
    )

About

This flutter package will provide smooth wave transitions between pages without having to write any boilerplate code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published