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.
When the route is redirected to /auth/register/phone, I only want the subroute phone to be pushed onto the stack. Kinda the way context.push() works, how do I achieve this?
When the route is redirected to
/auth/register/phone
, I only want the subroutephone
to be pushed onto the stack. Kinda the waycontext.push()
works, how do I achieve this?