createNode method

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

Implementation

@override
RouteNode<RouteValue> createNode({
  RouteNode<RouteValue>? next,
  RouteName? value,
  Completer? popCompleter,
}) {
  return NamedNode(
    next: next,
    value: name,
    buildPage: (context) => buildPage(context, name),
    route: this,
    popCompleter: popCompleter,
  );
}