csells / go_router

The purpose of the go_router for Flutter is to use declarative routes to reduce complexity, regardless of the platform you're targeting (mobile, web, desktop), handling deep linking from Android, iOS and the web while still allowing an easy-to-use developer experience.
https://gorouter.dev
441 stars 97 forks source link

Handle sub route navigation #94

Closed chunlee-thong closed 3 years ago

chunlee-thong commented 3 years ago

I have a route that looks like this. verify and add-info is a subroute of signup.

When the user reaches the add-info route and clicks the back button, I want to navigate to signup instead of verify. How to achieve this behavior?