createNode method

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

Implementation

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