route.widget constructor

const route.widget(
  1. Type? widgetType, {
  2. Type? returns,
  3. String? ctor = "",
  4. String? name,
  5. String? uri,
  6. Map<String, String> paramTypeOverrides = const {},
})

Implementation

const route.widget(this.widgetType,
    {this.returns,
    this.ctor = "",
    this.name,
    this.uri,
    this.paramTypeOverrides = const {}})
    : handler = null,
      params = null;