lukepighetti / fluro

Fluro is a Flutter routing library that adds flexible routing options like wildcards, named parameters and clear route definitions.
https://pub.dev/packages/fluro
MIT License
3.67k stars 417 forks source link

How to do the 'popAndPushNamed' #199

Closed Eric-Liqiafeng closed 3 years ago

Eric-Liqiafeng commented 3 years ago

fluro seems there is no a function that likes Navigator.of(context).popAndPushNamed()

how to implement this function by fluro router

lukepighetti commented 3 years ago

We do not have this feature built into Fluro. You need to use Navigator.of(context).popAndPushNamed(). This is a wontfix for 1.x