createNode method

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

Implementation

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