RixaMaterial constructor

const RixaMaterial({
  1. Key? key,
  2. GlobalKey<ScaffoldMessengerState>? scaffoldMessengerKey,
  3. RouteInformationProvider? routeInformationProvider,
  4. RouteInformationParser<Object>? routeInformationParser,
  5. RouterDelegate<Object>? routerDelegate,
  6. RouterConfig<Object>? routerConfig,
  7. BackButtonDispatcher? backButtonDispatcher,
  8. String title = '',
  9. String onGenerateTitle(
    1. BuildContext
    )?,
  10. Widget builder(
    1. BuildContext,
    2. Widget?
    )?,
  11. Color? color,
  12. ThemeData? theme,
  13. ThemeData? darkTheme,
  14. ThemeData? highContrastTheme,
  15. ThemeData? highContrastDarkTheme,
  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. bool debugShowCheckedModeBanner = true,
  28. Map<ShortcutActivator, Intent>? shortcuts,
  29. Map<Type, Action<Intent>>? actions,
  30. String? restorationScopeId,
  31. ScrollBehavior? scrollBehavior,
  32. @Deprecated('Remove this parameter as it is now ignored. ' 'MaterialApp never introduces its own MediaQuery; the View widget takes care of that. ' 'This feature was deprecated after v3.7.0-29.0.pre.') bool useInheritedMediaQuery = false,
})

Implementation

const RixaMaterial({
  Key? key,
  this.scaffoldMessengerKey,
  this.routeInformationProvider,
  this.routeInformationParser,
  this.routerDelegate,
  this.routerConfig,
  this.backButtonDispatcher,
  this.title = '',
  this.onGenerateTitle,
  this.builder,
  this.color,
  this.theme,
  this.darkTheme,
  this.highContrastTheme,
  this.highContrastDarkTheme,
  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.debugShowCheckedModeBanner = true,
  this.shortcuts,
  this.actions,
  this.restorationScopeId,
  this.scrollBehavior,
  @Deprecated('Remove this parameter as it is now ignored. '
      'MaterialApp never introduces its own MediaQuery; the View widget takes care of that. '
      'This feature was deprecated after v3.7.0-29.0.pre.')
      this.useInheritedMediaQuery = false,
}) : super(key: key);