GoRouterState constructor

const GoRouterState(
  1. RouteConfiguration _configuration, {
  2. required Uri uri,
  3. required String matchedLocation,
  4. String? name,
  5. String? path,
  6. required String? fullPath,
  7. required Map<String, String> pathParameters,
  8. Object? extra,
  9. GoException? error,
  10. required ValueKey<String> pageKey,
  11. GoRoute? topRoute,
})

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,
});