routeConfig abstract method
TRouteData
routeConfig(
- GoRouterState state
Map the current GoRouterState to a typed route data widget.
Typically, this is your main shell widget (e.g. Scaffold with BottomNav) that needs to know:
- Which tab is selected.
- Optional additional state derived from the router.
Implementation
TRouteData routeConfig(GoRouterState state);