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.
Hello. There is an authentication code in my application. Because of this, I need to get the parameters of the deep link and open the desired page after entering the code. You have added parameters to redirect function for GoRoute, is it possible to add it for GoRouter?
Now the redirect function gets this state
if (redirected(
topRedirect(
GoRouterState(
this,
location: loc,
name: null,
// trim the query params off the subloc to match route.redirect
subloc: uri.path,
// pass along the query params 'cuz that's all we have right now
queryParams: uri.queryParameters,
),
),
)) continue;
Hello. There is an authentication code in my application. Because of this, I need to get the parameters of the deep link and open the desired page after entering the code. You have added parameters to redirect function for GoRoute, is it possible to add it for GoRouter?
Now the redirect function gets this state
but i need this state
it`s possible? thx.