PathRouteSettings constructor
PathRouteSettings({
- required dynamic route,
- required String? label,
- String? resolvedPath,
- RouteParams? routeParams,
Creates data used to construct routes.
Implementation
PathRouteSettings({
required dynamic route,
required this.label,
this.resolvedPath,
this.routeParams,
}) : route = calculateRoute(route),
super(
name: resolvedPath ?? calculateRoute(route) ?? label,
arguments: routeParams);