AppData constructor

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

Implementation

const AppData({
  super.widgetKey,
  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.restorationScopeId,
  super.scrollBehavior,
  super.builder,
  super.onNavigationNotification,
  this.navigatorKey,
  this.home,
  this.routes = kDefaultAppRoutes,
  this.initialRoute,
  this.onGenerateRoute,
  this.onGenerateInitialRoutes,
  this.onUnknownRoute,
  this.navigatorObservers = kDefaultNavigationObservers,
});