ThemedApp constructor

const ThemedApp({
  1. Key? key,
  2. required String title,
  3. String? fontFamily,
  4. Widget? home,
  5. Map<String, WidgetBuilder>? routes,
  6. String? initialRoute,
  7. RouteFactory? onGenerateRoute,
  8. RouteFactory? onUnknownRoute,
  9. List<NavigatorObserver>? navigatorObservers,
  10. TransitionBuilder? builder,
  11. Locale? locale,
  12. Iterable<LocalizationsDelegate>? localizationsDelegates,
  13. Iterable<Locale>? supportedLocales = const <Locale>[Locale('en')],
  14. bool debugShowCheckedModeBanner = true,
  15. bool debugShowMaterialGrid = false,
  16. bool showPerformanceOverlay = false,
  17. bool checkerboardRasterCacheImages = false,
  18. bool checkerboardOffscreenLayers = false,
  19. bool showSemanticsDebugger = false,
})

Implementation

const ThemedApp({
  super.key,
  required this.title,
  this.fontFamily,
  this.home,
  this.routes,
  this.initialRoute,
  this.onGenerateRoute,
  this.onUnknownRoute,
  this.navigatorObservers,
  this.builder,
  this.locale,
  this.localizationsDelegates,
  this.supportedLocales = const <Locale>[Locale('en')],
  this.debugShowCheckedModeBanner = true,
  this.debugShowMaterialGrid = false,
  this.showPerformanceOverlay = false,
  this.checkerboardRasterCacheImages = false,
  this.checkerboardOffscreenLayers = false,
  this.showSemanticsDebugger = false,
});