GoRouterState constructor
const
GoRouterState(
- RouteConfiguration _configuration, {
- required Uri uri,
- required String matchedLocation,
- String? name,
- String? path,
- required String? fullPath,
- required Map<
String, String> pathParameters, - Object? extra,
- GoException? error,
- required ValueKey<
String> pageKey, - GoRoute? topRoute,
- Map<
String, dynamic> metadata = const <String, dynamic>{},
Default constructor for creating route state during routing.
Implementation
const GoRouterState(
this._configuration, {
required this.uri,
required this.matchedLocation,
this.name,
this.path,
required this.fullPath,
required this.pathParameters,
this.extra,
this.error,
required this.pageKey,
this.topRoute,
this.metadata = const <String, dynamic>{},
});