AppBrandConfig constructor

const AppBrandConfig({
  1. required String clientSlug,
  2. required ColorSwatch<int> primaryColor,
  3. ColorSwatch<int>? onPrimaryColor,
  4. ColorSwatch<int>? secondaryColor,
  5. ColorSwatch<int>? onSecondaryColor,
  6. ColorSwatch<int>? tertiaryColor,
  7. ColorSwatch<int>? onTertiaryColor,
  8. ColorSwatch<int>? neutralLightColor,
  9. ColorSwatch<int>? neutralDarkColor,
  10. ColorSwatch<int>? successColor,
  11. ColorSwatch<int>? warningColor,
  12. ColorSwatch<int>? dangerColor,
  13. ColorSwatch<int>? infoColor,
  14. AppRadiusTheme radiusTheme = AppRadiusTheme.standard,
  15. AppAnimationTheme animationTheme = AppAnimationTheme.standard,
  16. AppStyleTheme styleTheme = AppStyleTheme.standard,
  17. AppGlassTheme glassTheme = AppGlassTheme.standard,
  18. AppIconTheme iconTheme = AppIconTheme.standard,
  19. AppIllustrationTheme illustrationTheme = AppIllustrationTheme.standard,
  20. 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,
});