go_router restorationScopeId - Restore Flutter Navigation After App Restart
Learn how go_router restorationScopeId restores Flutter navigation state, including nested routes, browser behavior, and common restoration traps.
Learn how go_router restorationScopeId restores Flutter navigation state, including nested routes, browser behavior, and common restoration traps.
Learn how go_router overridePlatformDefaultLocation changes Flutter startup precedence and how to avoid breaking Web deep links with initialLocation.
Learn how go_router extraCodec serializes complex Flutter route data for browser history, refreshes, and deep-link restoration.
Learn how go_router onExit blocks Flutter route removal with async unsaved-change confirmation and how to test back navigation safely.
Learn how go_router routerNeglect controls browser URL updates in Flutter Web, with safe patterns for internal flows and back navigation.
Learn how go_router debugLogDiagnostics exposes Flutter route matching, redirects, and navigation failures without guessing from the UI.
Learn how to use go_router namedLocation and goNamed in Flutter to generate safe URLs, preserve query parameters, and avoid broken navigation strings.
Learn how go_router onEnter blocks unsafe Flutter navigation asynchronously and how it differs from redirect and onExit.
Learn why go_router redirect loops happen in Flutter and how to use matchedLocation, refreshListenable, and redirectLimit safely.
Learn how to validate go_router pathParameters in Flutter before turning URL segments into IDs, with a safe redirect and typed route example.
Learn how to use go_router onExit to protect unsaved Flutter form changes across back navigation, deep links, and programmatic route changes.
Learn how go_router parentNavigatorKey places Flutter login, checkout, and full-screen dialog routes on the root Navigator above persistent tabs.
Learn when to use go_router extra for typed Flutter route data, and when path parameters are safer for deep links, refreshes, and web navigation.
Use go_router_builder typed routes to generate Flutter navigation helpers, catch parameter mistakes at compile time, and keep deep links explicit.
Learn how to use go_router errorBuilder to handle Flutter 404 routes, failed redirects, and invalid deep links with a useful recovery UI.
Learn how to use go_router query parameters for shareable Flutter search and filter URLs, including safe updates and state restoration.
Use go_router redirect and refreshListenable to protect Flutter routes, preserve the requested URL, and avoid redirect loops when auth state changes.
Use go_router StatefulShellRoute to build Flutter tab navigation that preserves each branch state while handling nested routes and deep links cleanly.
Wire flutter_animate into go_router's CustomTransitionPage to add polished enter/exit animations across your Flutter app — no duplicated AnimationController code in every route.