core/navigation/activity_router library

Classes

ActivityNavigationShell
Shell child and tab controller supplied to the stateful layout builder.
ActivityNoTransitionPage<T>
A page without animated transitions, useful for top-level tabs.
ActivityRoute
Named page with relative children, an optional guard and a custom Page. Use :id segments for parameters; top-level paths start with /.
ActivityRouteBase
Base for Activity pages and persistent navigator layouts.
ActivityRouteConfiguration
Immutable Router configuration. Its serializable state includes visited tabs. Use ActivityRouter.config for MaterialApp; the parser and delegate are also exposed for apps that assemble Flutter's Router widget directly.
ActivityRouteInformationParser
Flutter parser exposed for custom Router integration and URL restoration.
ActivityRouter
URL routing implemented with Flutter Router and declarative Navigators.
ActivityRouterDelegate
Flutter delegate exposed for custom Router integration and system back.
ActivityRouteState
Immutable location supplied to builders, guards and error pages.
ActivityShellBranch
A tab's route tree, navigator key, initial URL and restoration namespace.
ActivityShellRoute
Shared layout with its own Navigator; root-targeted children appear above it.
ActivityStatefulShellRoute
IndexedStack tabs retain their own pages, widget state and push results.
ActivityTransitionPage<T>
A declarative page with Flutter animation control.

Extensions

ActivityRouterContext on BuildContext
Concise access without exporting a third-party router extension namespace.

Typedefs

ActivityRedirect = FutureOr<String?> Function(ActivityRouteState state)
Return null to allow a location or an absolute app path to redirect. Both global and route guards run before destination builders.
RouteBase = ActivityRouteBase
Legacy spelling retained for route-list declarations.
StatefulShellBranch = ActivityShellBranch
Legacy spelling retained for Activity 2.0 development checkouts.

Exceptions / Errors

ActivityNavigationException
Error supplied to the error builder when matching, guards or codecs fail.