MaterialAppData class
Constructors
-
MaterialAppData({Key? widgetKey, Widget? home, Map<
String, WidgetBuilder> ? routes, String? initialRoute, RouteFactory? onGenerateRoute, RouteFactory? onUnknownRoute, TransitionBuilder? builder, String? title, GenerateAppTitle? onGenerateTitle, Color? color, Locale? locale, Iterable<LocalizationsDelegate> ? localizationsDelegates, LocaleListResolutionCallback? localeListResolutionCallback, LocaleResolutionCallback? localeResolutionCallback, Iterable<Locale> ? supportedLocales, bool? showPerformanceOverlay, bool? checkerboardRasterCacheImages, bool? checkerboardOffscreenLayers, bool? showSemanticsDebugger, bool? debugShowCheckedModeBanner, Map<LogicalKeySet, Intent> ? shortcuts, Map<Type, Action< ? actions, InitialRouteListFactory? onGenerateInitialRoutes, String? restorationScopeId, ScrollBehavior? scrollBehavior, ThemeData? theme, bool? debugShowMaterialGrid, ThemeData? darkTheme, ThemeMode? themeMode, GlobalKey<Intent> >ScaffoldMessengerState> ? scaffoldMessengerKey, Curve? themeAnimationCurve, Duration? themeAnimationDuration})
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?
-
finalinherited
- highContrastTheme → ThemeData?
-
finalinherited
- home → Widget?
-
finalinherited
- initialRoute → String?
-
finalinherited
- locale → Locale?
-
finalinherited
- localeListResolutionCallback → LocaleListResolutionCallback?
-
finalinherited
- localeResolutionCallback → LocaleResolutionCallback?
-
finalinherited
-
localizationsDelegates
→ Iterable<
LocalizationsDelegate> ? -
finalinherited
-
finalinherited
-
finalinherited
- onGenerateInitialRoutes → InitialRouteListFactory?
-
finalinherited
- onGenerateRoute → RouteFactory?
-
finalinherited
- onGenerateTitle → GenerateAppTitle?
-
finalinherited
-
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
- 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