SundayCupertinoApp constructor
const
SundayCupertinoApp({
- Key? key,
- CupertinoThemeData? theme,
- required Widget home,
- required String title,
- Map<
String, WidgetBuilder> ? routes, - String? initialRoute,
- RouteFactory? onGenerateRoute,
- RouteFactory? onUnknownRoute,
- Iterable<
Locale> ? supportedLocales, - Locale? locale,
- bool? debugShowCheckedModeBanner,
- bool? showPerformanceOverlay,
- bool? showSemanticsDebugger,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - LocaleResolutionCallback? localeResolutionCallback,
Creates a SundayCupertinoApp.
At least the home
and title
arguments must be non-null.
Implementation
const SundayCupertinoApp({
super.key,
this.theme,
required this.home,
required this.title,
this.routes,
this.initialRoute,
this.navigatorKey,
this.navigatorObservers,
this.onGenerateRoute,
this.onUnknownRoute,
this.supportedLocales,
this.locale,
this.debugShowCheckedModeBanner,
this.showPerformanceOverlay,
this.showSemanticsDebugger,
this.localizationsDelegates,
this.localeResolutionCallback,
});