AppBrandConfig constructor
const
AppBrandConfig({
- required String clientSlug,
- required ColorSwatch<
int> primaryColor, - ColorSwatch<
int> ? onPrimaryColor, - ColorSwatch<
int> ? secondaryColor, - ColorSwatch<
int> ? onSecondaryColor, - ColorSwatch<
int> ? tertiaryColor, - ColorSwatch<
int> ? onTertiaryColor, - ColorSwatch<
int> ? neutralLightColor, - ColorSwatch<
int> ? neutralDarkColor, - ColorSwatch<
int> ? successColor, - ColorSwatch<
int> ? warningColor, - ColorSwatch<
int> ? dangerColor, - ColorSwatch<
int> ? infoColor, - AppRadiusTheme radiusTheme = AppRadiusTheme.standard,
- AppAnimationTheme animationTheme = AppAnimationTheme.standard,
- AppStyleTheme styleTheme = AppStyleTheme.standard,
- AppGlassTheme glassTheme = AppGlassTheme.standard,
- AppIconTheme iconTheme = AppIconTheme.standard,
- AppIllustrationTheme illustrationTheme = AppIllustrationTheme.standard,
- AppBrandTypography typography = AppBrandTypography.standard,
Implementation
const AppBrandConfig({
required this.clientSlug,
required this.primaryColor,
this.onPrimaryColor,
this.secondaryColor,
this.onSecondaryColor,
this.tertiaryColor,
this.onTertiaryColor,
this.neutralLightColor,
this.neutralDarkColor,
this.successColor,
this.warningColor,
this.dangerColor,
this.infoColor,
this.radiusTheme = AppRadiusTheme.standard,
this.animationTheme = AppAnimationTheme.standard,
this.styleTheme = AppStyleTheme.standard,
this.glassTheme = AppGlassTheme.standard,
this.iconTheme = AppIconTheme.standard,
this.illustrationTheme = AppIllustrationTheme.standard,
this.typography = AppBrandTypography.standard,
});