RouterState constructor
RouterState({
- required List<
RouteDefinition> routeDefinitions, - required String notFoundPath,
Creates a RouterState.
Implementation
RouterState({
required List<RouteDefinition> routeDefinitions,
required String notFoundPath,
required GlobalKey<NavigatorState> navigatorKey,
}) : _routeDefinitions = routeDefinitions,
_notFoundPath = notFoundPath,
_navigatorKey = navigatorKey;