HeraApp constructor
const
HeraApp({
- Key? key,
- required Widget child,
- Widget? logo,
- ThemeData? theme,
- ThemeData? darkTheme,
- ThemeData? highContrastTheme,
- ThemeData? highContrastDarkTheme,
- ThemeMode? themeMode = ThemeMode.system,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - Iterable<
Locale> supportedLocales = const <Locale>[Locale('en', 'US')], - RouteFactory? onGenerateRoute,
Implementation
const HeraApp({
super.key,
required this.child,
this.logo,
this.theme,
this.darkTheme,
this.highContrastTheme,
this.highContrastDarkTheme,
this.themeMode = ThemeMode.system,
this.localizationsDelegates,
this.supportedLocales = const <Locale>[Locale('en', 'US')],
this.onGenerateRoute,
});