CupertinoRoute constructor

CupertinoRoute({
  1. required PageInfo page,
  2. bool fullscreenDialog = false,
  3. bool maintainState = true,
  4. bool fullMatch = false,
  5. List<AutoRouteGuard> guards = const [],
  6. bool usesPathAsKey = false,
  7. List<AutoRoute>? children,
  8. Map<String, dynamic> meta = const {},
  9. String? path,
  10. TitleBuilder? title,
  11. RestorationIdBuilder? restorationId,
  12. bool keepHistory = true,
  13. bool initial = false,
  14. 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());