MaterialRoute<T> constructor
const
MaterialRoute<T> ({})
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,
);