ResponsiveCupertinoApp class
Constructors
-
ResponsiveCupertinoApp({Key? key, dynamic navigatorKey, dynamic home, dynamic theme, Map<String, Widget Function(BuildContext)> routes = const <String, WidgetBuilder>{}, dynamic initialRoute, dynamic onGenerateRoute, dynamic onGenerateInitialRoutes, dynamic onUnknownRoute, List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[], dynamic builder, dynamic title = '', dynamic onGenerateTitle, dynamic color, dynamic locale, dynamic localizationsDelegates, dynamic localeListResolutionCallback, dynamic localeResolutionCallback, dynamic supportedLocales = const <Locale>[Locale('en', 'US')], dynamic showPerformanceOverlay = false, dynamic checkerboardRasterCacheImages = false, dynamic checkerboardOffscreenLayers = false, dynamic showSemanticsDebugger = false, dynamic debugShowCheckedModeBanner = true, dynamic shortcuts, dynamic actions, dynamic restorationScopeId, dynamic scrollBehavior, dynamic useInheritedMediaQuery = false})
-
Properties
-
actions
→ Map<Type, Action<Intent>>?
-
The default map of intent keys to actions for the application.
finalinherited
-
backButtonDispatcher
→ BackButtonDispatcher?
-
A delegate that decide whether to handle the Android back button intent.
finalinherited
-
builder
→ TransitionBuilder?
-
A builder for inserting widgets above the Navigator or - when the
WidgetsApp.router constructor is used - above the Router but below the
other widgets created by the WidgetsApp widget, or for replacing the
Navigator/Router entirely.
finalinherited
-
checkerboardOffscreenLayers
→ bool
-
Turns on checkerboarding of layers rendered to offscreen bitmaps.
finalinherited
-
checkerboardRasterCacheImages
→ bool
-
Turns on checkerboarding of raster cache images.
finalinherited
-
color
→ Color?
-
The primary color to use for the application in the operating system
interface.
finalinherited
-
debugShowCheckedModeBanner
→ bool
-
Turns on a little "DEBUG" banner in debug mode to indicate
that the app is in debug mode. This is on by default (in
debug mode), to turn it off, set the constructor argument to
false. In release mode this has no effect.
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
home
→ Widget?
-
The widget for the default route of the app (Navigator.defaultRouteName,
which is
/
).
finalinherited
-
initialRoute
→ String?
-
The name of the first route to show, if a Navigator is built.
finalinherited
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
locale
→ Locale?
-
The initial locale for this app's Localizations widget is based
on this value.
finalinherited
-
localeListResolutionCallback
→ LocaleListResolutionCallback?
-
This callback is responsible for choosing the app's locale
when the app is started, and when the user changes the
device's locale.
finalinherited
-
localeResolutionCallback
→ LocaleResolutionCallback?
-
The signature of WidgetsApp.localeResolutionCallback.
finalinherited
-
localizationsDelegates
→ Iterable<LocalizationsDelegate>?
-
The delegates for this app's Localizations widget.
finalinherited
-
navigatorKey
→ GlobalKey<NavigatorState>?
-
A key to use when building the Navigator.
finalinherited
-
navigatorObservers
→ List<NavigatorObserver>?
-
The list of observers for the Navigator created for this app.
finalinherited
-
onGenerateInitialRoutes
→ InitialRouteListFactory?
-
The routes generator callback used for generating initial routes if
initialRoute is provided.
finalinherited
-
onGenerateRoute
→ RouteFactory?
-
The route generator callback used when the app is navigated to a
named route.
finalinherited
-
onGenerateTitle
→ GenerateAppTitle?
-
If non-null this callback function is called to produce the app's
title string, otherwise title is used.
finalinherited
-
onNavigationNotification
→ NotificationListenerCallback<NavigationNotification>?
-
The callback to use when receiving a NavigationNotification.
finalinherited
-
onUnknownRoute
→ RouteFactory?
-
Called when onGenerateRoute fails to generate a route, except for the
initialRoute.
finalinherited
-
restorationScopeId
→ String?
-
The identifier to use for state restoration of this app.
finalinherited
-
routeInformationParser
→ RouteInformationParser<Object>?
-
A delegate to parse the route information from the
routeInformationProvider into a generic data type to be processed by
the routerDelegate at a later stage.
finalinherited
-
routeInformationProvider
→ RouteInformationProvider?
-
A object that provides route information through the
RouteInformationProvider.value and notifies its listener when its value
changes.
finalinherited
-
routerConfig
→ RouterConfig<Object>?
-
An object to configure the underlying Router.
finalinherited
-
routerDelegate
→ RouterDelegate<Object>?
-
A delegate that configures a widget, typically a Navigator, with
parsed result from the routeInformationParser.
finalinherited
-
routes
→ Map<String, WidgetBuilder>?
-
The application's top-level routing table.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
scrollBehavior
→ ScrollBehavior?
-
The default ScrollBehavior for the application.
finalinherited
-
shortcuts
→ Map<ShortcutActivator, Intent>?
-
The default map of keyboard shortcuts to intents for the application.
finalinherited
-
showPerformanceOverlay
→ bool
-
Turns on a performance overlay.
finalinherited
-
showSemanticsDebugger
→ bool
-
Turns on an overlay that shows the accessibility information
reported by the framework.
finalinherited
-
supportedLocales
→ Iterable<Locale>
-
The list of locales that this app has been localized for.
finalinherited
-
theme
→ CupertinoThemeData?
-
The top-level CupertinoTheme styling.
finalinherited
-
title
→ String
-
A one-line description used by the device to identify the app for the user.
finalinherited
-
useInheritedMediaQuery
→ bool
-
Deprecated. This setting is now ignored.
finalinherited