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
442 stars 96 forks source link

parse and provide parameters during redirection #34

Closed csells closed 3 years ago

csells commented 3 years ago

e.g. enable the following

path: '/books/:bookId',
redirect: (state) => '/books/all/book/${state.params['bookId']!}',
csells commented 3 years ago

added this feature in 0.8.3