RouteState<P, S> constructor

const RouteState<P, S>({
  1. required AppContext app,
  2. required RouteNavigator router,
  3. required P params,
  4. required S search,
  5. required Uri location,
  6. required RouteMatches matches,
})

Creates route state.

Implementation

const RouteState({
  required this.app,
  required this.router,
  required this.params,
  required this.search,
  required this.location,
  required RouteMatches matches,
}) : _matches = matches;