CupertinoRoute constructor
CupertinoRoute({
- required PageInfo page,
- bool fullscreenDialog = false,
- bool maintainState = true,
- bool fullMatch = false,
- List<
AutoRouteGuard> guards = const [], - bool usesPathAsKey = false,
- List<
AutoRoute> ? children, - Map<
String, dynamic> meta = const {}, - String? path,
- TitleBuilder? title,
- RestorationIdBuilder? restorationId,
- bool keepHistory = true,
- bool initial = false,
- bool allowSnapshotting = true,
Default constructor
Implementation
CupertinoRoute({
required PageInfo page,
super.fullscreenDialog,
super.maintainState,
super.fullMatch = false,
super.guards,
super.usesPathAsKey = false,
super.children,
super.meta = const {},
super.path,
super.title,
super.restorationId,
super.keepHistory,
super.initial,
super.allowSnapshotting = true,
}) : super._(name: page.name, type: const RouteType.cupertino());