GetMaterialAppModule class
GetMaterialAppModule
Module for GetMaterialApp
- Inheritance
- Available extensions
Constructors
-
GetMaterialAppModule({Key? key, GlobalKey<
ScaffoldMessengerState> ? scaffoldMessengerKey, Widget? home, Map<String, Widget Function(BuildContext)> routes = const <String, WidgetBuilder>{}, String? initialRoute, RouteFactory? onGenerateRoute, InitialRouteListFactory? onGenerateInitialRoutes, RouteFactory? onUnknownRoute, bool useInheritedMediaQuery = false, TransitionBuilder? builder, TextDirection? textDirection, String title = '', GenerateAppTitle? onGenerateTitle, Color? color, ThemeData? theme, ThemeData? darkTheme, ThemeMode themeMode = ThemeMode.system, Locale? locale, Locale? fallbackLocale, Iterable<LocalizationsDelegate> ? localizationsDelegates, LocaleListResolutionCallback? localeListResolutionCallback, LocaleResolutionCallback? localeResolutionCallback, Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')], bool debugShowMaterialGrid = false, bool showPerformanceOverlay = false, bool checkerboardRasterCacheImages = false, bool checkerboardOffscreenLayers = false, bool showSemanticsDebugger = false, bool debugShowCheckedModeBanner = true, Map<LogicalKeySet, Intent> ? shortcuts, ScrollBehavior? scrollBehavior, CustomTransition? customTransition, Map<String, Map< ? translationsKeys, Translations? translations, VoidCallback? onInit, VoidCallback? onReady, VoidCallback? onDispose, ValueChanged<String, String> >Routing?> ? routingCallback, Transition? defaultTransition, List<GetPage> ? getPages, bool? opaqueRoute, bool? enableLog = kDebugMode, LogWriterCallback? logWriterCallback, bool? popGesture, Duration? transitionDuration, bool? defaultGlobalState, SmartManagement smartManagement = SmartManagement.full, Bindings? initialBinding, GetPage? unknownRoute, ThemeData? highContrastTheme, ThemeData? highContrastDarkTheme, Map<Type, Action< ? actions})Intent> >
Properties
-
actions
→ Map<
Type, Action< ?Intent> > -
final
- allScope → Module
-
Available on Module, provided by the ModuleExtension extension
no setter - backButtonDispatcher → BackButtonDispatcher?
-
final
- builder → TransitionBuilder?
-
final
- checkerboardOffscreenLayers → bool
-
final
- checkerboardRasterCacheImages → bool
-
final
- color → Color?
-
final
- customTransition → CustomTransition?
-
final
- darkTheme → ThemeData?
-
final
- debugOnly → Module
-
Available on Module, provided by the ModuleExtension extension
no setter - debugShowCheckedModeBanner → bool
-
final
- debugShowMaterialGrid → bool
-
final
- defaultGlobalState → bool?
-
final
- defaultTransition → Transition?
-
final
-
dependencies
↔ List<
Type> -
getter/setter pairinherited
- enableLog → bool?
-
final
- errorHandle ↔ ErrorHandle
-
getter/setter pairinherited
- failCount ↔ int
-
getter/setter pairinherited
- fallbackLocale → Locale?
-
final
-
getPages
→ List<
GetPage> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highContrastDarkTheme → ThemeData?
-
final
- highContrastTheme → ThemeData?
-
final
- home → Widget?
-
final
- initialBinding → Bindings?
-
final
- initialRoute → String?
-
final
- isDebug → bool
-
no setterinherited
- key → Key?
-
final
- locale → Locale?
-
final
- localeListResolutionCallback → LocaleListResolutionCallback?
-
final
- localeResolutionCallback → LocaleResolutionCallback?
-
final
-
localizationsDelegates
→ Iterable<
LocalizationsDelegate> ? -
final
- logWriterCallback → LogWriterCallback?
-
final
- moduleLoader ↔ ModuleLoader
-
getter/setter pairinherited
-
final
-
final
- onDispose → VoidCallback?
-
final
- onGenerateInitialRoutes → InitialRouteListFactory?
-
final
- onGenerateRoute → RouteFactory?
-
final
- onGenerateTitle → GenerateAppTitle?
-
final
- onInit → VoidCallback?
-
final
- onReady → VoidCallback?
-
final
- onUnknownRoute → RouteFactory?
-
final
- opaqueRoute → bool?
-
final
- popGesture → bool?
-
final
- productionOnly → Module
-
Available on Module, provided by the ModuleExtension extension
no setter - retries ↔ int
-
getter/setter pairinherited
- retryOnError → Module
-
Available on Module, provided by the ModuleExtension extension
no setter -
routeInformationParser
→ RouteInformationParser<
Object> ? -
final
- routeInformationProvider → RouteInformationProvider?
-
final
-
routerDelegate
→ RouterDelegate<
Object> ? -
final
-
routes
→ Map<
String, WidgetBuilder> -
final
-
routingCallback
→ ValueChanged<
Routing?> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scaffoldMessengerKey
→ GlobalKey<
ScaffoldMessengerState> ? -
final
- scope ↔ Scope
-
getter/setter pairinherited
- scrollBehavior → ScrollBehavior?
-
final
-
shortcuts
→ Map<
LogicalKeySet, Intent> ? -
final
- showPerformanceOverlay → bool
-
final
- showSemanticsDebugger → bool
-
final
- silenceOnError → Module
-
Available on Module, provided by the ModuleExtension extension
no setter - smartManagement → SmartManagement
-
final
-
supportedLocales
→ Iterable<
Locale> -
final
- testingProductionMode ↔ bool
-
getter/setter pairinherited
- textDirection → TextDirection?
-
final
- theme → ThemeData?
-
final
- themeMode → ThemeMode
-
final
- throwsOnError → Module
-
Available on Module, provided by the ModuleExtension extension
no setter - title → String
-
final
- transitionDuration → Duration?
-
final
- translations → Translations?
-
final
-
translationsKeys
→ Map<
String, Map< ?String, String> > -
final
- unknownRoute → GetPage?
-
final
- useInheritedMediaQuery → bool
-
final
Methods
-
dependsOn(
List< Type> depends) → Module -
Available on Module, provided by the ModuleExtension extension
-
install(
) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
) → Future< void> -
inherited
-
satisfy(
) → bool -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited