SchabanBo / qlevar_router

Manage you project Routes. Create nested routes. Simply navigation without context to your pages. Change only one sub widget in your page when navigating to new route.
MIT License
87 stars 22 forks source link

Navigator.pushReplacement, Navigator.popUntilAndPush #58

Closed Stevensie95 closed 2 years ago

Stevensie95 commented 2 years ago

First of all, really really thanks for this AMAZING package and it really save my life due to the context-less navigation for navigation 2.0. Would like to ask , is there any way to achieve effect like Navigator.pushReplacement, Navigator.popUntilAndPush, and Navigator.popUntil with current exists function?

SchabanBo commented 2 years ago

Hi @Stevensie95,

I am very glad you liked it. Thanks. for the navigation you cloud use : Navigator QR
Navigator.pushReplacement QR.navigator.replaceLast
Navigator.popUntilAndPush QR.navigator.popUntilOrPush + QR.to
Navigator.popUntil QR.navigator.popUntilOrPush
Stevensie95 commented 2 years ago

It's worked, thanks!