ShellNode class

Inheritance

Constructors

ShellNode({required Widget shellBuilder(BuildContext context, ShellController controller, Widget child), required ShellValue value, required HyperRoute<RouteValue> route})

Properties

hashCode int
The hash code for this object.
no setterinherited
isTop bool
True if this is the last node in the list
no setterinherited
key RouteKey
Same as RouteValue.key
no setteroverride
next RouteNode<RouteValue>
RouteNode that follows this one.
no setteroverride
popCompleter Completer
finalinherited
route HyperRoute<RouteValue>
The route configuration (from the tree)
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shellBuilder Widget Function(BuildContext context, ShellController controller, Widget child)
final
value ShellValue
The RouteValue of this route
final

Methods

containsNode(Object key) bool
Check if the stack contains a node with the provided key
inherited
copyStack() RouteNode<RouteValue>
inherited
createPages(BuildContext context) Iterable<Page>
override
cut(Object key) RouteNode<RouteValue>?
Returns a copy of the list from the node it's called on, up to the node with the provided key
inherited
forEach(void action(RouteNode<RouteValue> node)) → void
inherited
last() RouteNode<RouteValue>
Returns the last node in the list
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop() RouteNode<RouteValue>?
override
toString() String
A string representation of this object.
inherited
toUrl() UrlData
override
withUpdatedValue(Object key, RouteValue value) RouteNode<RouteValue>
Returns a copy of the stack where the node with key is replaced with a node containing the provided value.
inherited

Operators

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