ShellCoveringRoute class
The routes located below this one in the routing tree will be displayed on top (rather than inside the nested navigator) of the ShellRoute with the corresponding shellKey.
This is a "proxy" route: it doesn't have a page of its own and you can't navigate to it directly. Must contain at least one child.
- Inheritance
-
- Object
- HyperRoute<
RouteValue> - ShellCoveringRoute
Constructors
-
ShellCoveringRoute({required RouteKey shellKey, required List<
HyperRoute< children})RouteValue> >
Properties
-
children
→ List<
HyperRoute< RouteValue> > -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → RouteKey
-
Same as RouteValue.key
final
-
parent
↔ HyperRoute<
RouteValue> ? -
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shellKey → RouteKey
-
The key of the ShellRoute that this route and its children should cover.
final
Methods
-
createFromUrl(
UrlData url) → RouteNode< RouteValue> ? -
Receives a list of url segments and returns the stack parsed from them.
The first segment in the list is matched against this route. If it does
not correspond to this route, returns null.
override
-
createNode(
{RouteNode< RouteValue> ? next, RouteValue? value, Completer? popCompleter}) → RouteNode<RouteValue> -
override
-
createStack(
{RouteNode< RouteValue> ? next, required Map<Object, RouteValue> values, Map<Object, Completer> popCompleters = const {}}) → RouteNode<RouteValue> ? -
Creates a stack of RouteNodes from this route to the root.
inherited
-
forEach(
void action(HyperRoute< RouteValue> r)) → void -
inherited
-
nextNodeFromUrl(
UrlData url) → RouteNode< RouteValue> ? -
Finds a route that matches the url among its children and returns a stack
created from it.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateWithNext(
{RouteNode< RouteValue> ? next, required RouteValue value, Completer? popCompleter}) → RouteNode<RouteValue> -
Prioritizes
next
overvalue
.inherited -
updateWithValue(
{RouteNode< RouteValue> ? next, required RouteValue value, Completer? popCompleter}) → RouteNode<RouteValue> -
Prioritizes
value
overnext
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited