AppState<T extends StatefulWidget> constructor
AppState<T extends StatefulWidget> ({
- Key? key,
- Widget? home,
- AppStateXController? controller,
- List<
StateXController> ? controllers, - Object? object,
- bool? notifyClientsInBuild,
- MaterialApp? materialApp,
- CupertinoApp? cupertinoApp,
- RouteInformationProvider? routeInformationProvider,
- RouteInformationParser<
Object> ? routeInformationParser, - RouterDelegate<
Object> ? routerDelegate, - bool? useRouterConfig,
- RouterConfig<
Object> ? routerConfig, - BackButtonDispatcher? backButtonDispatcher,
- GlobalKey<
ScaffoldMessengerState> ? scaffoldMessengerKey, - Map<
String, WidgetBuilder> ? routes, - String? initialRoute,
- Route? onGenerateRoute(
- RouteSettings settings
- Route? onUnknownRoute(
- RouteSettings settings
- TransitionBuilder? builder,
- String? title,
- String onGenerateTitle(
- BuildContext context
- Color? color,
- bool? allowChangeTheme,
- ThemeData? theme,
- CupertinoThemeData? iOSTheme,
- ThemeData? darkTheme,
- ThemeData? highContrastTheme,
- ThemeData? highContrastDarkTheme,
- ThemeMode? themeMode,
- Duration? themeAnimationDuration,
- Curve? themeAnimationCurve,
- bool? allowChangeLocale,
- Locale? locale,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - LocaleListResolutionCallback? localeListResolutionCallback,
- LocaleResolutionCallback? localeResolutionCallback,
- List<
Locale> ? supportedLocales, - bool? useMaterial,
- bool? useCupertino,
- bool? switchUI,
- bool? allowChangeUI,
- bool? debugShowMaterialGrid,
- bool? showPerformanceOverlay,
- bool? checkerboardRasterCacheImages,
- bool? checkerboardOffscreenLayers,
- bool? showSemanticsDebugger,
- bool? debugShowCheckedModeBanner,
- bool? debugShowWidgetInspector,
- bool? debugPaintSizeEnabled,
- bool? debugPaintBaselinesEnabled,
- bool? debugPaintPointersEnabled,
- bool? debugPaintLayerBordersEnabled,
- bool? debugRepaintRainbowEnabled,
- bool? debugRepaintTextRainbowEnabled,
- bool? debugPrintRebuildDirtyWidgets,
- void debugOnRebuildDirtyWidget()?,
- bool? debugPrintBuildScope,
- bool? debugPrintScheduleBuildForStacks,
- bool? debugPrintGlobalKeyedWidgetLifecycle,
- bool? debugProfileBuildsEnabled,
- bool? debugProfileBuildsEnabledUserWidgets,
- bool? debugEnhanceBuildTimelineArguments,
- bool? debugHighlightDeprecatedWidgets,
- Map<
LogicalKeySet, Intent> ? shortcuts, - Map<
Type, Action< ? actions,Intent> > - String? restorationScopeId,
- ScrollBehavior? scrollBehavior,
- AnimationStyle? themeAnimationStyle,
- FlutterExceptionHandler? errorHandler,
- ErrorWidgetBuilder? errorScreen,
- ReportErrorHandler? errorReport,
- void inErrorHandler(
- FlutterErrorDetails details
- ErrorWidgetBuilder? inErrorScreen,
- Future<
void> inErrorReport(- Object exception,
- StackTrace stack
- bool? presentError,
- void inInitState()?,
- Future<
bool> inInitAsync()?, - void inCatchAsyncError(
- Object error
- void inAsyncError(
- Object error
- Widget inHome()?,
- RouteInformationProvider inRouteInformationProvider()?,
- RouteInformationParser<
Object> inRouteInformationParser()?, - RouterDelegate<
Object> inRouterDelegate()?, - RouterConfig<
Object> ? inRouterConfig()?, - BackButtonDispatcher inBackButtonDispatcher()?,
- Map<
String, WidgetBuilder> inRoutes()?, - String inInitialRoute()?,
- bool inUpdateShouldNotify(
- InheritedWidget oldWidget
- TransitionBuilder inTransBuilder()?,
- String inTitle()?,
- GenerateAppTitle? inGenerateTitle,
- ThemeData? inTheme()?,
- CupertinoThemeData? iniOSTheme()?,
- ThemeData? inDarkTheme()?,
- ThemeData? inHighContrastTheme()?,
- ThemeData? inHighContrastDarkTheme()?,
- ThemeMode? inThemeMode()?,
- Duration? inThemeAnimationDuration()?,
- Curve? inThemeAnimationCurve()?,
- Color? inColor()?,
- Locale? inLocale()?,
- Iterable<
LocalizationsDelegate> inLocalizationsDelegates()?, - LocaleListResolutionCallback? inLocaleListResolutionCallback,
- LocaleResolutionCallback? inLocaleResolutionCallback,
- List<
Locale> ? inSupportedLocales()?, - bool? inDebugShowMaterialGrid()?,
- bool? inShowPerformanceOverlay()?,
- bool? inCheckerboardRasterCacheImages()?,
- bool? inCheckerboardOffscreenLayers()?,
- bool? inShowSemanticsDebugger()?,
- bool? inDebugShowCheckedModeBanner()?,
- Map<
LogicalKeySet, Intent> ? inShortcuts()?, - Map<
Type, Action< ? inActions()?,Intent> > - String? inRestorationScopeId()?,
- ScrollBehavior? inScrollBehavior()?,
- AnimationStyle? inThemeAnimationStyle()?,
Provide a huge array of options and features to the 'App State object.'
Implementation
AppState({
super.key,
super.home,
super.controller,
super.controllers,
super.object,
super.notifyClientsInBuild,
super.materialApp,
super.cupertinoApp,
super.routeInformationProvider,
super.routeInformationParser,
super.routerDelegate,
super.useRouterConfig,
super.routerConfig,
super.backButtonDispatcher,
super.scaffoldMessengerKey,
super.routes,
super.initialRoute,
super.onGenerateRoute,
super.onUnknownRoute,
super.onNavigationNotification,
super.navigatorKey,
super.navigatorObservers,
super.builder,
super.title,
super.onGenerateTitle,
super.color,
super.allowChangeTheme,
super.theme,
super.iOSTheme,
super.darkTheme,
super.highContrastTheme,
super.highContrastDarkTheme,
super.themeMode,
super.themeAnimationDuration,
super.themeAnimationCurve,
super.allowChangeLocale,
super.locale,
super.localizationsDelegates,
super.localeListResolutionCallback,
super.localeResolutionCallback,
super.supportedLocales,
super.useMaterial,
super.useCupertino,
super.switchUI,
super.allowChangeUI,
super.debugShowMaterialGrid,
super.showPerformanceOverlay,
super.checkerboardRasterCacheImages,
super.checkerboardOffscreenLayers,
super.showSemanticsDebugger,
super.debugShowCheckedModeBanner,
super.debugShowWidgetInspector,
super.debugPaintSizeEnabled,
super.debugPaintBaselinesEnabled,
super.debugPaintPointersEnabled,
super.debugPaintLayerBordersEnabled,
super.debugRepaintRainbowEnabled,
super.debugRepaintTextRainbowEnabled,
super.debugPrintRebuildDirtyWidgets,
// ignore: avoid_positional_boolean_parameters
super.debugOnRebuildDirtyWidget,
super.debugPrintBuildScope,
super.debugPrintScheduleBuildForStacks,
super.debugPrintGlobalKeyedWidgetLifecycle,
super.debugProfileBuildsEnabled,
super.debugProfileBuildsEnabledUserWidgets,
super.debugEnhanceBuildTimelineArguments,
super.debugHighlightDeprecatedWidgets,
super.shortcuts,
super.actions,
super.restorationScopeId,
super.scrollBehavior,
super.themeAnimationStyle,
super.errorHandler,
super.errorScreen,
super.errorReport,
super.inErrorHandler,
super.inErrorScreen,
super.inErrorReport,
super.presentError,
super.inInitState,
super.inInitAsync,
super.inCatchAsyncError,
super.inAsyncError,
super.inHome,
super.inRouteInformationProvider,
super.inRouteInformationParser,
super.inRouterDelegate,
super.inRouterConfig,
super.inBackButtonDispatcher,
super.inRoutes,
super.inInitialRoute,
super.inNavigatorObservers,
super.inUpdateShouldNotify,
super.inTransBuilder,
super.inTitle,
super.inGenerateTitle,
super.inTheme,
super.iniOSTheme,
super.inDarkTheme,
super.inHighContrastTheme,
super.inHighContrastDarkTheme,
super.inThemeMode,
super.inThemeAnimationDuration,
super.inThemeAnimationCurve,
super.inColor,
super.inLocale,
super.inLocalizationsDelegates,
super.inLocaleListResolutionCallback,
super.inLocaleResolutionCallback,
super.inSupportedLocales,
super.inDebugShowMaterialGrid,
super.inShowPerformanceOverlay,
super.inCheckerboardRasterCacheImages,
super.inCheckerboardOffscreenLayers,
super.inShowSemanticsDebugger,
super.inDebugShowCheckedModeBanner,
super.inShortcuts,
super.inActions,
super.inRestorationScopeId,
super.inScrollBehavior,
super.inThemeAnimationStyle,
});