UIModuleMaterialApp constructor

const UIModuleMaterialApp({
  1. Key? key,
  2. WidgetTheme widgetTheme = const WidgetTheme(),
  3. String flavor = "",
  4. WidgetBuilder? home,
  5. GlobalKey<NavigatorState>? navigatorKey,
  6. Map<String, RouteConfig> routes = const <String, RouteConfig>{},
  7. String initialRoute = "/",
  8. List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[],
  9. String title = "",
  10. RouteFactory? onGenerateTitle,
  11. RouteConfig? onUnknownRoute,
  12. RouteConfig? onBootRoute,
  13. Color? color,
  14. ThemeColor? theme,
  15. ThemeColor? darkTheme,
  16. ThemeMode themeMode = ThemeMode.system,
  17. Locale? locale,
  18. Iterable<LocalizationsDelegate>? localizationsDelegates,
  19. Locale? localeListResolutionCallback(
    1. List<Locale>?,
    2. Iterable<Locale>
    )?,
  20. Locale? localeResolutionCallback(
    1. Locale?,
    2. Iterable<Locale>
    )?,
  21. Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')],
  22. bool debugShowMaterialGrid = false,
  23. bool showPerformanceOverlay = false,
  24. bool checkerboardRasterCacheImages = false,
  25. bool checkerboardOffscreenLayers = false,
  26. bool showSemanticsDebugger = false,
  27. Widget builder(
    1. BuildContext,
    2. Widget?
    )?,
  28. bool debugShowCheckedModeBanner = true,
  29. double minTextScaleFactor = 0.8,
  30. double maxTextScaleFactor = 1.2,
  31. List<Module> enableModules = const [],
  32. List<Module> availableModules = const [],
  33. DesignType designType = DesignType.modern,
  34. 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);