PageWrapper constructor

PageWrapper(
  1. RouteDefinition routeDefinition,
  2. String path,
  3. int index, {
  4. String? id,
})

Creates a PageWrapper.

Implementation

PageWrapper(
  RouteDefinition routeDefinition,
  this.path,
  this.index, {
  this.id,
})  : _uri = Uri.parse(path),
      _routeDefinition = routeDefinition,
      name = routeDefinition.name;