CupertinoAppData class final

Cupertino-specific configuration for regular (non-router) apps.

Contains properties specific to CupertinoApp for iOS platforms. Extends the base AppData with Cupertino-only theme configuration.

Inheritance

Constructors

CupertinoAppData({Key? widgetKey, GlobalKey<NavigatorState>? navigatorKey, Widget? home, Map<String, WidgetBuilder> routes = kDefaultAppRoutes, String? initialRoute, List<Route> onGenerateInitialRoutes(String)?, RouteFactory? onGenerateRoute, RouteFactory? onUnknownRoute, List<NavigatorObserver> navigatorObservers = kDefaultNavigationObservers, TransitionBuilder? builder, 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<Intent>>? actions, bool onNavigationNotification(NavigationNotification)?, String? restorationScopeId, ScrollBehavior? scrollBehavior, CupertinoThemeData? theme})
Creates Cupertino-specific app configuration.
const

Properties

actions → Map<Type, Action<Intent>>?
The default map of actions.
finalinherited
builder → TransitionBuilder?
A builder for the app's content.
finalinherited
checkerboardOffscreenLayers → bool
Whether to checkerboard layers rendered to offscreen bitmaps.
finalinherited
checkerboardRasterCacheImages → bool
Whether to checkerboard raster cache images.
finalinherited
color → Color?
The primary color to use for the application in the OS interface.
finalinherited
debugShowCheckedModeBanner → bool
Whether to show a "DEBUG" banner.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
home → Widget?
Home widget of the app.
finalinherited
initialRoute → String?
Initial route name.
finalinherited
locale → Locale?
The initial locale for the app.
finalinherited
localeListResolutionCallback → LocaleListResolutionCallback?
A callback that is used to resolve the locale when the user changes it.
finalinherited
localeResolutionCallback → LocaleResolutionCallback?
A callback that is used to resolve the locale when the app is starting.
finalinherited
localizationsDelegates → Iterable<LocalizationsDelegate>?
The delegates for this app's Localizations widget.
finalinherited
Global key for the navigator state.
finalinherited
List of navigator observers.
finalinherited
onGenerateInitialRoutes → List<Route> Function(String)?
Factory for generating initial routes.
finalinherited
onGenerateRoute → RouteFactory?
Route factory for generating routes.
finalinherited
onGenerateTitle → GenerateAppTitle?
A callback to generate the app's title.
finalinherited
onNavigationNotification → bool Function(NavigationNotification)?
A callback to listen for navigation notifications.
finalinherited
onUnknownRoute → RouteFactory?
Route factory for unknown routes.
finalinherited
restorationScopeId → String?
The restoration scope ID for the app.
finalinherited
routes → Map<String, WidgetBuilder>
Named routes for the app.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrollBehavior → ScrollBehavior?
The default scroll behavior for the app.
finalinherited
shortcuts → Map<LogicalKeySet, Intent>?
The default map of keyboard shortcuts.
finalinherited
showPerformanceOverlay → bool
Whether to show the performance overlay.
finalinherited
showSemanticsDebugger → bool
Whether to show the semantics debugger.
finalinherited
supportedLocales → Iterable<Locale>
The list of locales that this app has been localized for.
finalinherited
theme → CupertinoThemeData?
The theme data for the app.
final
title → String?
A one-line description of the app for the OS.
finalinherited
widgetKey → Key?
A key to identify the top-level widget of the app.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited