GoRouter
stackchain: routing: go_routerWhat gets generated
Section titled “What gets generated”- Declarative route table in managed
routesregion RouteGuardsfor auth-aware redirects when applicable- App router entry used by the root
Appwidget
Sync behavior
Section titled “Sync behavior”dart run stackchain feature … and sync merge new feature routes into the managed region without wiping custom routes declared outside markers.
Example
Section titled “Example”dart run stackchain feature homedart run stackchain sync