IncommeMaterialApp constructor
const
IncommeMaterialApp({
- Key? key,
- String title = '',
- String? initialRoute,
- Translations? translations,
- Locale? locale,
- Locale? fallbackLocale,
- Bindings? initialBinding,
- Transition? defaultTransition,
- List<
GetPage> ? getPages, - GetPage? unknownRoute,
- Widget? home,
- CustomTransition? customTransition,
- bool? enableLog,
- LogWriterCallback? logWriterCallback,
- bool? popGesture,
- SmartManagement? smartManagement,
- bool? preventDuplicatePush,
- Transition? defaultGlobalTransition,
- Curve? defaultCurve,
- Duration? transitionDuration,
- TransitionBuilder? builder,
- ThemeData? theme,
- ThemeData? darkTheme,
- ThemeMode? themeMode,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - Locale? localeResolutionCallback()?,
- Iterable<
Locale> ? supportedLocales, - bool? debugShowCheckedModeBanner,
- Route? onUnknownRoute(
- RouteSettings settings
- Route? onGenerateRoute(
- RouteSettings settings
- Map<
String, Widget Function(BuildContext context)> ? routes, - Map<
Type, Action< ? actions,Intent> > - bool? checkerboardOffscreenLayers,
- bool? checkerboardRasterCacheImages,
- Color? color,
- bool? debugShowMaterialGrid,
- bool? defaultGlobalState,
- ThemeData? highContrastDarkTheme,
- ThemeData? highContrastTheme,
- Locale? localeListResolutionCallback()?,
- void onDispose()?,
- List<
Route> onGenerateInitialRoutes(- String initialRoute
- String onGenerateTitle(
- BuildContext context
- void onInit()?,
- void onReady()?,
- bool? opaqueRoute,
- void routingCallback(
- Routing? value
- GlobalKey<
ScaffoldMessengerState> ? scaffoldMessengerKey, - ScrollBehavior? scrollBehavior,
- Map<
LogicalKeySet, Intent> ? shortcuts, - bool? showPerformanceOverlay,
- bool? showSemanticsDebugger,
- TextDirection? textDirection,
- Map<
String, Map< ? translationsKeys,String, String> > - bool? useInheritedMediaQuery,
Implementation
const IncommeMaterialApp({
super.key,
this.title = '',
this.initialRoute,
this.translations,
this.locale,
this.fallbackLocale,
this.initialBinding,
this.defaultTransition,
this.getPages,
this.unknownRoute,
this.home,
this.navigatorObservers,
this.customTransition,
this.enableLog,
this.logWriterCallback,
this.popGesture,
this.smartManagement,
this.preventDuplicatePush,
this.defaultGlobalTransition,
this.defaultCurve,
this.transitionDuration,
this.builder,
this.theme,
this.darkTheme,
this.themeMode,
this.localizationsDelegates,
this.localeResolutionCallback,
this.supportedLocales,
this.debugShowCheckedModeBanner,
this.onUnknownRoute,
this.navigatorKey,
this.onGenerateRoute,
this.routes,
this.actions,
this.checkerboardOffscreenLayers,
this.checkerboardRasterCacheImages,
this.color,
this.debugShowMaterialGrid,
this.defaultGlobalState,
this.highContrastDarkTheme,
this.highContrastTheme,
this.localeListResolutionCallback,
this.onDispose,
this.onGenerateInitialRoutes,
this.onGenerateTitle,
this.onInit,
this.onReady,
this.opaqueRoute,
this.routingCallback,
this.scaffoldMessengerKey,
this.scrollBehavior,
this.shortcuts,
this.showPerformanceOverlay,
this.showSemanticsDebugger,
this.textDirection,
this.translationsKeys,
this.useInheritedMediaQuery,
});