kalismeras61 / flutter_page_transition

This is Flutter Page Transition Package
BSD 2-Clause "Simplified" License
475 stars 57 forks source link

Is it possible to create a PageTransition with an opaque=false page #54

Closed robertflesch closed 3 years ago

robertflesch commented 3 years ago

I am currently using

Navigator.of(context).push(PageRouteBuilder(
                    opaque: false,
                    pageBuilder: (BuildContext context, _, __) {
                      return Notepad();
                    }));

which allows me to set opaque=false so I can get a nice overlay. But I would also like to do this type of PageTransition, bottomToTop

Navigator.push( context, PageTransition(type: PageTransitionType.bottomToTop, 
                   child: Notepad(), duration: Duration( milliseconds: 300 ) ));

Is it possible to create a PageTransition where the opaque flag is set?

kalismeras61 commented 3 years ago

I added this parameter please use latest version 2.0.4