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.66k stars 416 forks source link

initialRoute with string like '/home/login' will cause not found error #282

Open vzhilong opened 6 months ago

vzhilong commented 6 months ago

I only define route '/home/ogin' to LoginPage, not define '/' and '/home'.

If I set the FlutterActivity engine with initialRoute = '/home/login', the fluro will push two not found page in back stack, and the LoginPage on the top.

I expect that there is only the LoginPage in the stack.