routeConfig abstract method
TRouteData
routeConfig(
- GoRouterState state
Convert a GoRouterState into the final widget for this route.
This is where you:
- Read path params:
state.pathParameters['id'] - Read query params:
state.uri.queryParameters - Read state.extra:
state.extra as MyData?
and then build your TRouteData widget.
Implementation
TRouteData routeConfig(GoRouterState state);