NamedNode class

Inheritance

Constructors

NamedNode({required RouteNode<RouteValue>? next, required RouteName value, required Page buildPage(BuildContext context), required HyperRoute<RouteValue> route})

Properties

buildPage Page Function(BuildContext context)
final
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 Object
Same as RouteValue.key
no setterinherited
next RouteNode<RouteValue>?
RouteNode that follows this one.
final
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
value RouteName
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>?
inherited
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