StandardCupertinoApp<T> constructor
const
StandardCupertinoApp<T> ({
- Key? key,
- RouteInformationProvider? routeInformationProvider,
- BackButtonDispatcher? backButtonDispatcher,
- RouterConfig<
Object> ? routerConfig, - TransitionBuilder? builder,
- required String onGenerateTitle(),
- CupertinoThemeData? theme,
- Color? color,
- Locale? locale,
- LocaleListResolutionCallback? localeListResolutionCallback,
- LocaleResolutionCallback? localeResolutionCallback,
- bool showPerformanceOverlay = false,
- bool checkerboardRasterCacheImages = false,
- bool checkerboardOffscreenLayers = false,
- bool showSemanticsDebugger = false,
- bool debugShowCheckedModeBanner = true,
- Map<
ShortcutActivator, Intent> ? shortcuts, - Map<
Type, Action< ? actions,Intent> > - String? restorationScopeId,
- ScrollBehavior? scrollBehavior,
- required List<
StandardPageWithResultFactory< pages,StandardPageWithResult< >Object?, Object?> , Object?, Object?> - Widget routableBuilder(
- BuildContext context,
- Widget? child
- bool willPopPage(
- Route route,
- 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;