ThemeColors constructor
ThemeColors({
- dynamic primary,
- dynamic accent,
- dynamic neutral,
- dynamic positive,
- dynamic negative,
- dynamic warning,
Implementation
ThemeColors({primary, accent, neutral, positive, negative, warning}) {
if (primary != null) this.primary = primary;
if (accent != null) this.accent = accent;
if (neutral != null) this.neutral = neutral;
if (positive != null) this.positive = positive;
if (negative != null) this.negative = negative;
if (warning != null) this.warning = warning;
}