updateWithNext method
RouteNode<RouteValue>
updateWithNext({
- RouteNode<
RouteValue> ? next, - required ShellValue value,
- Completer? popCompleter,
override
Prioritizes next
over value
.
value
is the current value of the node.next
is what the returned node is expected to be pointing to.
Implementation
@override
RouteNode<RouteValue> updateWithNext({
RouteNode<RouteValue>? next,
required ShellValue value,
Completer? popCompleter,
}) {
return ShellNode(
shellBuilder: shellBuilder,
value: value.withNext(next!),
route: this,
popCompleter: popCompleter,
);
}