ZetaProvider constructor
- Key? key,
- required ZetaAppBuilder builder,
- ThemeMode? initialThemeMode,
- ZetaContrast? initialContrast,
- ZetaThemeService themeService = const ZetaDefaultThemeService(),
- bool initialRounded = true,
- List<
ZetaCustomTheme> customThemes = const [], - String? initialTheme,
- Widget? customLoadingWidget,
Constructs a ZetaProvider widget.
The builder
argument is required. The initialThemeMode
, initialContrast
,
Implementation
ZetaProvider({
super.key,
required this.builder,
this.initialThemeMode,
this.initialContrast,
this.themeService = const ZetaDefaultThemeService(),
this.initialRounded = true,
this.customThemes = const [],
this.initialTheme,
this.customLoadingWidget,
});