ShellfulRoute class
Constructors
-
ShellfulRoute({required List<RouteBase> routes, GoRouterRedirect? redirect, StatefulShellRouteBuilder? builder, StatefulShellRoutePageBuilder? pageBuilder, GlobalKey<NavigatorState>? parentNavigatorKey, String? restorationScopeId, bool preload = false})
-
Properties
-
branches
→ List<StatefulShellBranch>
-
Representations of the different stateful route branches that this
shell route will manage.
finalinherited
-
builder
→ StatefulShellRouteBuilder?
-
The widget builder for a stateful shell route.
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
navigatorContainerBuilder
→ ShellNavigationContainerBuilder
-
The builder for the branch Navigator container.
finalinherited
-
pageBuilder
→ StatefulShellRoutePageBuilder?
-
The page builder for a stateful shell route.
finalinherited
-
parentNavigatorKey
→ GlobalKey<NavigatorState>?
-
An optional key specifying which Navigator to display this route's screen
onto.
finalinherited
-
redirect
→ GoRouterRedirect?
-
An optional redirect function for this route.
finalinherited
-
restorationScopeId
→ String?
-
Restoration ID to save and restore the state of the navigator, including
its history.
finalinherited
-
routes
→ List<RouteBase>
-
The list of child routes associated with this route.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited