RouteScopeProvider constructor

const RouteScopeProvider({
  1. Key? key,
  2. required Component child,
  3. required Unrouter router,
  4. required RouteRecord<Component> route,
  5. required RouteParams params,
  6. required HistoryLocation location,
  7. required URLSearchParams query,
  8. HistoryLocation? fromLocation,
})

Creates a route scope provider.

Implementation

const RouteScopeProvider({
  super.key,
  required super.child,
  required this.router,
  required this.route,
  required this.params,
  required this.location,
  required this.query,
  this.fromLocation,
});