setColors method

void setColors({
  1. Color? background,
  2. Color? backgroundItem,
  3. Color? backgroundOutline,
  4. Color? backgroundElevated,
  5. Color? text,
  6. Color? textLight,
  7. Color? textLink,
  8. Color? accent,
  9. Color? accentLight,
  10. Color? error,
  11. Color? highlight,
  12. Color? selected,
  13. Color? shimmerBackground,
  14. Color? shimmerForeground,
})

Implementation

void setColors({
  Color? background,
  Color? backgroundItem,
  Color? backgroundOutline,
  Color? backgroundElevated,
  Color? text,
  Color? textLight,
  Color? textLink,
  Color? accent,
  Color? accentLight,
  Color? error,
  Color? highlight,
  Color? selected,
  Color? shimmerBackground,
  Color? shimmerForeground,
}) {
  this.background = background ?? this.background;
  this.backgroundItem = backgroundItem ?? this.backgroundItem;
  this.backgroundOutline = backgroundOutline ?? this.backgroundOutline;
  this.backgroundElevated = backgroundElevated ?? this.backgroundElevated;
  this.text = text ?? this.text;
  this.textLight = textLight ?? this.textLight;
  this.textLink = textLink ?? this.textLink;
  this.accent = accent ?? this.accent;
  this.accentLight = accentLight ?? this.accentLight;
  this.error = error ?? this.error;
  this.highlight = highlight ?? this.highlight;
  this.selected = selected ?? this.selected;
  this.shimmerBackground = shimmerBackground ?? this.shimmerBackground;
  this.shimmerForeground = shimmerForeground ?? this.shimmerForeground;
}