ShellRouteContext class

Context object used when building the shell and Navigator for a shell route.

Constructors

ShellRouteContext({required ShellRouteBase route, required GoRouterState routerState, required GlobalKey<NavigatorState> navigatorKey, required RouteMatchList routeMatchList, required NavigatorBuilder navigatorBuilder})
Constructs a ShellRouteContext.

Properties

hashCode int
The hash code for this object.
no setterinherited
Function used to build the Navigator for the current route.
final
The Navigator key to be used for the nested navigation associated with route.
final
route ShellRouteBase
The associated shell route.
final
routeMatchList RouteMatchList
The route match list representing the current location within the associated shell route.
final
routerState GoRouterState
The current route state associated with route.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited