ResponsiveCupertinoApp constructor
ResponsiveCupertinoApp({
- Key? key,
- dynamic home,
- dynamic theme,
- Map<
String, Widget Function(BuildContext)> routes = const <String, WidgetBuilder>{}, - dynamic initialRoute,
- dynamic onGenerateRoute,
- dynamic onGenerateInitialRoutes,
- dynamic onUnknownRoute,
- 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,
Implementation
ResponsiveCupertinoApp({
Key? key,
navigatorKey,
home,
theme,
Map<String, Widget Function(BuildContext)> routes = const <String, WidgetBuilder>{},
initialRoute,
onGenerateRoute,
onGenerateInitialRoutes,
onUnknownRoute,
List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[],
builder,
title = '',
onGenerateTitle,
color,
locale,
localizationsDelegates,
localeListResolutionCallback,
localeResolutionCallback,
supportedLocales = const <Locale>[Locale('en', 'US')],
showPerformanceOverlay = false,
checkerboardRasterCacheImages = false,
checkerboardOffscreenLayers = false,
showSemanticsDebugger = false,
debugShowCheckedModeBanner = true,
shortcuts,
actions,
restorationScopeId,
scrollBehavior,
useInheritedMediaQuery = false,
}) : super(
key: key,
navigatorKey : navigatorKey,
home : _LayoutHelper._getResponsiveLayoutBuilder(home),
theme : theme,
routes : routes,
initialRoute : initialRoute,
onGenerateRoute : onGenerateRoute,
onGenerateInitialRoutes : onGenerateInitialRoutes,
onUnknownRoute : onUnknownRoute,
navigatorObservers : navigatorObservers,
builder : builder,
title : title ,
onGenerateTitle : onGenerateTitle,
color : color,
locale : locale,
localizationsDelegates : localizationsDelegates,
localeListResolutionCallback : localeListResolutionCallback,
localeResolutionCallback : localeResolutionCallback,
supportedLocales : supportedLocales,
showPerformanceOverlay : showPerformanceOverlay,
checkerboardRasterCacheImages : checkerboardRasterCacheImages,
checkerboardOffscreenLayers : checkerboardOffscreenLayers,
showSemanticsDebugger : showSemanticsDebugger,
debugShowCheckedModeBanner : debugShowCheckedModeBanner,
shortcuts : shortcuts,
actions : actions,
restorationScopeId : restorationScopeId,
scrollBehavior : scrollBehavior,
useInheritedMediaQuery : useInheritedMediaQuery
);