StandardCupertinoApp<T> constructor

const StandardCupertinoApp<T>({
  1. Key? key,
  2. RouteInformationProvider? routeInformationProvider,
  3. BackButtonDispatcher? backButtonDispatcher,
  4. RouterConfig<Object>? routerConfig,
  5. TransitionBuilder? builder,
  6. required String onGenerateTitle(
    1. BuildContext
    ),
  7. CupertinoThemeData? theme,
  8. Color? color,
  9. Locale? locale,
  10. LocaleListResolutionCallback? localeListResolutionCallback,
  11. LocaleResolutionCallback? localeResolutionCallback,
  12. bool showPerformanceOverlay = false,
  13. bool checkerboardRasterCacheImages = false,
  14. bool checkerboardOffscreenLayers = false,
  15. bool showSemanticsDebugger = false,
  16. bool debugShowCheckedModeBanner = true,
  17. Map<ShortcutActivator, Intent>? shortcuts,
  18. Map<Type, Action<Intent>>? actions,
  19. String? restorationScopeId,
  20. ScrollBehavior? scrollBehavior,
  21. required List<StandardPageWithResultFactory<StandardPageWithResult<Object?, Object?>, Object?, Object?>> pages,
  22. Widget routableBuilder(
    1. BuildContext context,
    2. Widget? child
    )?,
  23. bool willPopPage(
    1. Route route,
    2. dynamic result
    )?,
})

Creates a StandardCupertinoApp.

Implementation

const StandardCupertinoApp({
  super.key,
  this.routeInformationProvider,
  this.backButtonDispatcher,
  this.routerConfig,
  this.builder,
  required this.onGenerateTitle,
  this.theme,
  this.color,
  this.locale,
  this.localeListResolutionCallback,
  this.localeResolutionCallback,
  this.showPerformanceOverlay = false,
  this.checkerboardRasterCacheImages = false,
  this.checkerboardOffscreenLayers = false,
  this.showSemanticsDebugger = false,
  this.debugShowCheckedModeBanner = true,
  this.shortcuts,
  this.actions,
  this.restorationScopeId,
  this.scrollBehavior,
  required List<StandardPageWithResultFactory> pages,
  Widget Function(BuildContext context, Widget? child)? routableBuilder,
  bool Function(Route<dynamic> route, dynamic result)? willPopPage,
})  : _pages = pages,
      _routableBuilder = routableBuilder,
      _willPopPage = willPopPage;