VMaterialApp<T extends Object> constructor

const VMaterialApp<T extends Object>({
  1. Key? key,
  2. required Widget child,
  3. BackButtonDispatcher? backButtonDispatcher,
  4. TransitionBuilder? builder,
  5. String? title = '',
  6. GenerateAppTitle? onGenerateTitle,
  7. Color? color,
  8. ThemeData? theme,
  9. ThemeData? darkTheme,
  10. ThemeData? highContrastTheme,
  11. ThemeData? highContrastDarkTheme,
  12. ThemeMode? themeMode = ThemeMode.system,
  13. Locale? locale,
  14. Iterable<LocalizationsDelegate>? localizationsDelegates,
  15. LocaleListResolutionCallback? localeListResolutionCallback,
  16. LocaleResolutionCallback? localeResolutionCallback,
  17. Iterable<Locale>? supportedLocales = const <Locale>[Locale('en', 'US')],
  18. bool? debugShowMaterialGrid = false,
  19. bool? showPerformanceOverlay = false,
  20. bool? checkerboardRasterCacheImages = false,
  21. bool? checkerboardOffscreenLayers = false,
  22. bool? showSemanticsDebugger = false,
  23. bool? debugShowCheckedModeBanner = true,
  24. Map<LogicalKeySet, Intent>? shortcuts,
  25. Map<Type, Action<Intent>>? actions,
})

Implementation

const VMaterialApp({
  Key? key,
  required this.child,
  this.backButtonDispatcher,
  this.builder,
  this.title = '',
  this.onGenerateTitle,
  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,
}) : super(key: key);