auto_route_library
auto_route_library copied to clipboard
Change url when navigating to dynamic url strategy
For web application user can directly enter url but in our web app we have url define as:
/l/:type/:id
But we also require some parameter which can we pass without showing in url like extra parameter available in go_router.
As by using current implementation if we do context.router.push(Book(type:"story",id:1,docId:"123456"))
then in this case url which is visible on browser look like/l/:type/:id
but we want to make it look like /l/story/1
.