MaterialRoute<T> constructor

const MaterialRoute<T>({
  1. String? path,
  2. required Type page,
  3. bool? initial,
  4. bool? fullscreenDialog,
  5. bool? maintainState,
  6. String? name,
  7. List<Type>? guards,
  8. List<StackedRoute>? children,
})

Implementation

const MaterialRoute(
    {String? path,
    required Type page,
    bool? initial,
    bool? fullscreenDialog,
    bool? maintainState,
    String? name,
    List<Type>? guards,
    List<StackedRoute>? children})
    : super(
        page: page,
        guards: guards,
        initial: initial,
        fullscreenDialog: fullscreenDialog,
        maintainState: maintainState,
        path: path,
        children: children,
        name: name,
      );