MaterialAppData class final

Inheritance

Constructors

MaterialAppData({Key? widgetKey, GlobalKey<NavigatorState>? navigatorKey, Widget? home, Map<String, WidgetBuilder> routes = kDefaultAppRoutes, String? initialRoute, List<Route> onGenerateInitialRoutes(String)?, RouteFactory? onGenerateRoute, RouteFactory? onUnknownRoute, List<NavigatorObserver> navigatorObservers = kDefaultNavigationObservers, TransitionBuilder? builder, String? title, GenerateAppTitle? onGenerateTitle, Color? color, Locale? locale, Iterable<LocalizationsDelegate>? localizationsDelegates, LocaleListResolutionCallback? localeListResolutionCallback, LocaleResolutionCallback? localeResolutionCallback, Iterable<Locale> supportedLocales = kDefaultSupportedLocales, bool showPerformanceOverlay = kDefaultShowPerformanceOverlay, bool checkerboardRasterCacheImages = kDefaultCheckerboardRasterCacheImages, bool checkerboardOffscreenLayers = kDefaultCheckerboardOffscreenLayers, bool showSemanticsDebugger = kDefaultShowSemanticsDebugger, bool debugShowCheckedModeBanner = kDefaultDebugShowCheckedModeBanner, Map<LogicalKeySet, Intent>? shortcuts, Map<Type, Action<Intent>>? actions, bool onNavigationNotification(NavigationNotification)?, String? restorationScopeId, ScrollBehavior? scrollBehavior, GlobalKey<ScaffoldMessengerState>? scaffoldMessengerKey, ThemeData? theme, ThemeData? darkTheme, ThemeData? highContrastTheme, ThemeData? highContrastDarkTheme, ThemeMode? themeMode, Duration themeAnimationDuration = kMaterialDefaultThemeAnimationDuration, Curve themeAnimationCurve = kMaterialDefaultThemeAnimationCurve, bool debugShowMaterialGrid = kDebugShowMaterialGrid, AnimationStyle? themeAnimationStyle})
const

Properties

actions Map<Type, Action<Intent>>?
finalinherited
builder TransitionBuilder?
finalinherited
checkerboardOffscreenLayers bool
finalinherited
checkerboardRasterCacheImages bool
finalinherited
color Color?
finalinherited
darkTheme ThemeData?
final
debugShowCheckedModeBanner bool
finalinherited
debugShowMaterialGrid bool
final
hashCode int
The hash code for this object.
no setterinherited
highContrastDarkTheme ThemeData?
final
highContrastTheme ThemeData?
final
home Widget?
finalinherited
initialRoute String?
finalinherited
locale Locale?
finalinherited
localeListResolutionCallback LocaleListResolutionCallback?
finalinherited
localeResolutionCallback LocaleResolutionCallback?
finalinherited
localizationsDelegates Iterable<LocalizationsDelegate>?
finalinherited
finalinherited
finalinherited
onGenerateInitialRoutes List<Route> Function(String)?
finalinherited
onGenerateRoute RouteFactory?
finalinherited
onGenerateTitle GenerateAppTitle?
finalinherited
onNavigationNotification bool Function(NavigationNotification)?
finalinherited
onUnknownRoute RouteFactory?
finalinherited
restorationScopeId String?
finalinherited
routes Map<String, WidgetBuilder>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaffoldMessengerKey GlobalKey<ScaffoldMessengerState>?
final
scrollBehavior ScrollBehavior?
finalinherited
shortcuts Map<LogicalKeySet, Intent>?
finalinherited
showPerformanceOverlay bool
finalinherited
showSemanticsDebugger bool
finalinherited
supportedLocales Iterable<Locale>
finalinherited
theme ThemeData?
final
themeAnimationCurve Curve
final
themeAnimationDuration Duration
final
themeAnimationStyle AnimationStyle?
final
themeMode ThemeMode?
final
title String?
finalinherited
widgetKey Key?
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited