CupertinoAppData constructor

const CupertinoAppData({
  1. Key? widgetKey,
  2. GlobalKey<NavigatorState>? navigatorKey,
  3. Widget? home,
  4. Map<String, WidgetBuilder> routes = kDefaultAppRoutes,
  5. String? initialRoute,
  6. List<Route> onGenerateInitialRoutes(
    1. String
    )?,
  7. RouteFactory? onGenerateRoute,
  8. RouteFactory? onUnknownRoute,
  9. List<NavigatorObserver> navigatorObservers = kDefaultNavigationObservers,
  10. TransitionBuilder? builder,
  11. String? title,
  12. GenerateAppTitle? onGenerateTitle,
  13. Color? color,
  14. Locale? locale,
  15. Iterable<LocalizationsDelegate>? localizationsDelegates,
  16. LocaleListResolutionCallback? localeListResolutionCallback,
  17. LocaleResolutionCallback? localeResolutionCallback,
  18. Iterable<Locale> supportedLocales = kDefaultSupportedLocales,
  19. bool showPerformanceOverlay = kDefaultShowPerformanceOverlay,
  20. bool checkerboardRasterCacheImages = kDefaultCheckerboardRasterCacheImages,
  21. bool checkerboardOffscreenLayers = kDefaultCheckerboardOffscreenLayers,
  22. bool showSemanticsDebugger = kDefaultShowSemanticsDebugger,
  23. bool debugShowCheckedModeBanner = kDefaultDebugShowCheckedModeBanner,
  24. Map<LogicalKeySet, Intent>? shortcuts,
  25. Map<Type, Action<Intent>>? actions,
  26. bool onNavigationNotification(
    1. NavigationNotification
    )?,
  27. String? restorationScopeId,
  28. ScrollBehavior? scrollBehavior,
  29. CupertinoThemeData? theme,
})

Implementation

const CupertinoAppData({
  super.widgetKey,
  super.navigatorKey,
  super.home,
  super.routes,
  super.initialRoute,
  super.onGenerateInitialRoutes,
  super.onGenerateRoute,
  super.onUnknownRoute,
  super.navigatorObservers,
  super.builder,
  super.title,
  super.onGenerateTitle,
  super.color,
  super.locale,
  super.localizationsDelegates,
  super.localeListResolutionCallback,
  super.localeResolutionCallback,
  super.supportedLocales,
  super.showPerformanceOverlay,
  super.checkerboardRasterCacheImages,
  super.checkerboardOffscreenLayers,
  super.showSemanticsDebugger,
  super.debugShowCheckedModeBanner,
  super.shortcuts,
  super.actions,
  super.onNavigationNotification,
  super.restorationScopeId,
  super.scrollBehavior,
  this.theme,
});