ThemedApp constructor
const
ThemedApp({ - Key? key,
- required String title,
- String? fontFamily,
- Widget? home,
- Map<String, WidgetBuilder>? routes,
- String? initialRoute,
- RouteFactory? onGenerateRoute,
- RouteFactory? onUnknownRoute,
- List<NavigatorObserver>? navigatorObservers,
- TransitionBuilder? builder,
- Locale? locale,
- Iterable<LocalizationsDelegate>? localizationsDelegates,
- Iterable<Locale>? supportedLocales = const <Locale>[Locale('en')],
- bool debugShowCheckedModeBanner = true,
- bool debugShowMaterialGrid = false,
- bool showPerformanceOverlay = false,
- bool checkerboardRasterCacheImages = false,
- bool checkerboardOffscreenLayers = false,
- 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,
});