ValueRoute<T extends RouteValue> constructor

ValueRoute<T extends RouteValue>({
  1. required Widget screenBuilder(
    1. BuildContext context,
    2. T value
    ),
  2. T? defaultValue,
  3. Page pageBuilder(
    1. BuildContext context,
    2. Widget child
    )?,
  4. UrlParser<T>? urlParser,
  5. List<HyperRoute<RouteValue>> children = const [],
})

Implementation

ValueRoute({
  required this.screenBuilder,
  this.defaultValue,
  this.pageBuilder,
  this.urlParser,
  super.children,
});