MaterialRoute<T> constructor

const MaterialRoute<T>({
  1. String? path,
  2. required Type page,
  3. bool initial = false,
  4. bool fullscreenDialog = false,
  5. bool maintainState = true,
  6. bool fullMatch = false,
  7. String? name,
  8. List<Type>? guards,
  9. bool usesPathAsKey = false,
  10. List<StackedRoute>? children,
  11. Map<String, dynamic> meta = const {},
  12. bool? deferredLoading,
})

Implementation

const MaterialRoute({
  String? path,
  required Type page,
  bool initial = false,
  bool fullscreenDialog = false,
  bool maintainState = true,
  bool fullMatch = false,
  String? name,
  List<Type>? guards,
  bool usesPathAsKey = false,
  List<StackedRoute>? children,
  Map<String, dynamic> meta = const {},
  bool? deferredLoading,
}) : super(
        page: page,
        guards: guards,
        fullMatch: fullMatch,
        initial: initial,
        usesPathAsKey: usesPathAsKey,
        fullscreenDialog: fullscreenDialog,
        maintainState: maintainState,
        path: path,
        children: children,
        name: name,
        meta: meta,
        deferredLoading: deferredLoading,
      );