UIModuleMaterialApp constructor
const
UIModuleMaterialApp({
- Key? key,
- WidgetTheme widgetTheme = const WidgetTheme(),
- String flavor = "",
- WidgetBuilder? home,
- Map<
String, RouteConfig> routes = const <String, RouteConfig>{}, - String initialRoute = "/",
- String title = "",
- RouteFactory? onGenerateTitle,
- RouteConfig? onUnknownRoute,
- RouteConfig? onBootRoute,
- Color? color,
- ThemeColor? theme,
- ThemeColor? darkTheme,
- ThemeMode themeMode = ThemeMode.system,
- Locale? locale,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - Locale? localeListResolutionCallback()?,
- Locale? localeResolutionCallback()?,
- Iterable<
Locale> supportedLocales = const <Locale>[Locale('en', 'US')], - bool debugShowMaterialGrid = false,
- bool showPerformanceOverlay = false,
- bool checkerboardRasterCacheImages = false,
- bool checkerboardOffscreenLayers = false,
- bool showSemanticsDebugger = false,
- Widget builder()?,
- bool debugShowCheckedModeBanner = true,
- double minTextScaleFactor = 0.8,
- double maxTextScaleFactor = 1.2,
- List<
Module> enableModules = const [], - List<
Module> availableModules = const [], - DesignType designType = DesignType.modern,
- bool webStyle = true,
Widget which extended MaterialApp for Path.
Implementation
const UIModuleMaterialApp({
Key? key,
this.widgetTheme = const WidgetTheme(),
this.flavor = "",
this.home,
this.navigatorKey,
this.routes = const <String, RouteConfig>{},
this.initialRoute = "/",
this.navigatorObservers = const <NavigatorObserver>[],
this.title = "",
this.onGenerateTitle,
this.onUnknownRoute,
this.onBootRoute,
this.color,
this.theme,
this.darkTheme,
this.themeMode = ThemeMode.system,
this.locale,
this.localizationsDelegates,
this.localeListResolutionCallback,
this.localeResolutionCallback,
this.supportedLocales = const <Locale>[Locale('en', 'US')],
this.debugShowMaterialGrid = false,
this.showPerformanceOverlay = false,
this.checkerboardRasterCacheImages = false,
this.checkerboardOffscreenLayers = false,
this.showSemanticsDebugger = false,
this.builder,
this.debugShowCheckedModeBanner = true,
this.minTextScaleFactor = 0.8,
this.maxTextScaleFactor = 1.2,
this.enableModules = const [],
this.availableModules = const [],
this.designType = DesignType.modern,
this.webStyle = true,
}) : super(key: key);