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.
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?