AppData constructor
const
AppData({
- Key? widgetKey,
- String? title,
- GenerateAppTitle? onGenerateTitle,
- Color? color,
- Locale? locale,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - LocaleListResolutionCallback? localeListResolutionCallback,
- LocaleResolutionCallback? localeResolutionCallback,
- Iterable<
Locale> supportedLocales = kDefaultSupportedLocales, - bool showPerformanceOverlay = kDefaultShowPerformanceOverlay,
- bool checkerboardRasterCacheImages = kDefaultCheckerboardRasterCacheImages,
- bool checkerboardOffscreenLayers = kDefaultCheckerboardOffscreenLayers,
- bool showSemanticsDebugger = kDefaultShowSemanticsDebugger,
- bool debugShowCheckedModeBanner = kDefaultDebugShowCheckedModeBanner,
- Map<
LogicalKeySet, Intent> ? shortcuts, - Map<
Type, Action< ? actions,Intent> > - String? restorationScopeId,
- ScrollBehavior? scrollBehavior,
- TransitionBuilder? builder,
- Widget? home,
- Map<
String, WidgetBuilder> routes = kDefaultAppRoutes, - String? initialRoute,
- RouteFactory? onGenerateRoute,
- List<
Route> onGenerateInitialRoutes()?, - RouteFactory? onUnknownRoute,
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,
});