GetCupertinoApp<T> constructor

const GetCupertinoApp<T>({
  1. Key? key,
  2. CupertinoThemeData? theme,
  3. GlobalKey<NavigatorState>? navigatorKey,
  4. Widget? home,
  5. Map<String, Widget Function(BuildContext)> routes = const <String, WidgetBuilder>{},
  6. String? initialRoute,
  7. RouteFactory? onGenerateRoute,
  8. InitialRouteListFactory? onGenerateInitialRoutes,
  9. RouteFactory? onUnknownRoute,
  10. List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[],
  11. TransitionBuilder? builder,
  12. Map<String, Map<String, String>>? translationsKeys,
  13. Translations? translations,
  14. TextDirection? textDirection,
  15. String title = "",
  16. GenerateAppTitle? onGenerateTitle,
  17. Color? color,
  18. CustomTransition? customTransition,
  19. VoidCallback? onInit,
  20. VoidCallback? onDispose,
  21. Locale? locale,
  22. List<Bind<T>>? binds,
  23. ScrollBehavior? scrollBehavior,
  24. Locale? fallbackLocale,
  25. Iterable<LocalizationsDelegate>? localizationsDelegates,
  26. LocaleListResolutionCallback? localeListResolutionCallback,
  27. LocaleResolutionCallback? localeResolutionCallback,
  28. Iterable<Locale> supportedLocales = const <Locale>[Locale("en", "US")],
  29. bool showPerformanceOverlay = false,
  30. bool checkerboardRasterCacheImages = false,
  31. bool checkerboardOffscreenLayers = false,
  32. bool showSemanticsDebugger = false,
  33. bool debugShowCheckedModeBanner = true,
  34. Map<LogicalKeySet, Intent>? shortcuts,
  35. SmartManagement smartManagement = SmartManagement.full,
  36. bool useInheritedMediaQuery = false,
  37. GetPage<T>? unknownRoute,
  38. dynamic routingCallback(
    1. Routing?
    )?,
  39. Transition? defaultTransition,
  40. VoidCallback? onReady,
  41. List<GetPage<T>>? getPages,
  42. bool? opaqueRoute,
  43. bool? enableLog = kDebugMode,
  44. LogWriterCallback? logWriterCallback,
  45. bool? popGesture,
  46. Duration? transitionDuration,
  47. bool? defaultGlobalState,
  48. ThemeData? highContrastTheme,
  49. ThemeData? highContrastDarkTheme,
  50. Map<Type, Action<Intent>>? actions,
})

Constructs a GetCupertinoApp widget.

Implementation

const GetCupertinoApp({
  super.key,
  this.theme,
  this.navigatorKey,
  this.home,
  Map<String, Widget Function(BuildContext)> this.routes =
      const <String, WidgetBuilder>{},
  this.initialRoute,
  this.onGenerateRoute,
  this.onGenerateInitialRoutes,
  this.onUnknownRoute,
  List<NavigatorObserver> this.navigatorObservers =
      const <NavigatorObserver>[],
  this.builder,
  this.translationsKeys,
  this.translations,
  this.textDirection,
  this.title = "",
  this.onGenerateTitle,
  this.color,
  this.customTransition,
  this.onInit,
  this.onDispose,
  this.locale,
  this.binds,
  this.scrollBehavior,
  this.fallbackLocale,
  this.localizationsDelegates,
  this.localeListResolutionCallback,
  this.localeResolutionCallback,
  this.supportedLocales = const <Locale>[Locale("en", "US")],
  this.showPerformanceOverlay = false,
  this.checkerboardRasterCacheImages = false,
  this.checkerboardOffscreenLayers = false,
  this.showSemanticsDebugger = false,
  this.debugShowCheckedModeBanner = true,
  this.shortcuts,
  this.smartManagement = SmartManagement.full,
  this.useInheritedMediaQuery = false,
  this.unknownRoute,
  this.routingCallback,
  this.defaultTransition,
  this.onReady,
  this.getPages,
  this.opaqueRoute,
  this.enableLog = kDebugMode,
  this.logWriterCallback,
  this.popGesture,
  this.transitionDuration,
  this.defaultGlobalState,
  this.highContrastTheme,
  this.highContrastDarkTheme,
  this.actions,
})  : routeInformationProvider = null,
      backButtonDispatcher = null,
      routeInformationParser = null,
      routerDelegate = null,
      routerConfig = null;