SundayCupertinoApp constructor

const SundayCupertinoApp({
  1. Key? key,
  2. CupertinoThemeData? theme,
  3. required Widget home,
  4. required String title,
  5. Map<String, WidgetBuilder>? routes,
  6. String? initialRoute,
  7. GlobalKey<NavigatorState>? navigatorKey,
  8. List<NavigatorObserver>? navigatorObservers,
  9. RouteFactory? onGenerateRoute,
  10. RouteFactory? onUnknownRoute,
  11. Iterable<Locale>? supportedLocales,
  12. Locale? locale,
  13. bool? debugShowCheckedModeBanner,
  14. bool? showPerformanceOverlay,
  15. bool? showSemanticsDebugger,
  16. Iterable<LocalizationsDelegate>? localizationsDelegates,
  17. 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,
});