KataglyphisAppShell<T> constructor
const
KataglyphisAppShell<T>({ - Key? key,
- required AppShellDataLoader<T> loadBootstrapData,
- required AppShellBindingBuilder<T> buildBinding,
- List<LocalizationsDelegate> appLocalizationsDelegates = const <LocalizationsDelegate<dynamic>>[],
- String fontFamily = kAppShellFontFamily,
- ThemeMode initialThemeMode = ThemeMode.dark,
- ColorSeed initialColorSeed = ColorSeed.baseColor,
- List<Locale> fallbackLocales = const <Locale>[Locale('en')],
- AppShellLoadingBuilder? loadingBuilder,
- 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,
});