updateWithNext method
RouteNode<RouteValue>
updateWithNext({
- RouteNode<
RouteValue> ? next, - required ShellValue value,
- Completer? popCompleter,
override
Prioritizes next over value.
valueis the current value of the node.nextis 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,
);
}