KataglyphisAppShell<T> constructor

const KataglyphisAppShell<T>({
  1. Key? key,
  2. required AppShellDataLoader<T> loadBootstrapData,
  3. required AppShellBindingBuilder<T> buildBinding,
  4. List<LocalizationsDelegate> appLocalizationsDelegates = const <LocalizationsDelegate<dynamic>>[],
  5. String fontFamily = kAppShellFontFamily,
  6. ThemeMode initialThemeMode = ThemeMode.dark,
  7. ColorSeed initialColorSeed = ColorSeed.baseColor,
  8. List<Locale> fallbackLocales = const <Locale>[Locale('en')],
  9. AppShellLoadingBuilder? loadingBuilder,
  10. AppShellErrorBuilder? errorBuilder,
})

Implementation

const KataglyphisAppShell({
  super.key,
  required this.loadBootstrapData,
  required this.buildBinding,
  this.appLocalizationsDelegates = const <LocalizationsDelegate<dynamic>>[],
  this.fontFamily = kAppShellFontFamily,
  this.initialThemeMode = ThemeMode.dark,
  this.initialColorSeed = ColorSeed.baseColor,
  this.fallbackLocales = const <Locale>[Locale('en')],
  this.loadingBuilder,
  this.errorBuilder,
});