createNode method

  1. @override
RouteNode<RouteValue> createNode({
  1. RouteNode<RouteValue>? next,
  2. RouteValue? value,
  3. Completer? popCompleter,
})
override

Implementation

@override
RouteNode<RouteValue> createNode({
  RouteNode<RouteValue>? next,
  RouteValue? value,
  Completer? popCompleter,
}) {
  return ShellCoveringNode(
    shellKey: shellKey,
    next: next ?? children.first.createNode(),
    value: ShellCoveringRouteValue(key),
    route: this,
    popCompleter: popCompleter,
  );
}