HeraApp constructor

const HeraApp({
  1. Key? key,
  2. required Widget child,
  3. ThemeData? theme,
  4. ThemeData? darkTheme,
  5. ThemeData? highContrastTheme,
  6. ThemeData? highContrastDarkTheme,
  7. ThemeMode? themeMode = ThemeMode.system,
  8. Iterable<LocalizationsDelegate>? localizationsDelegates,
  9. Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')],
  10. 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,
});