ZetaColorSwatch constructor

const ZetaColorSwatch({
  1. Brightness brightness = Brightness.light,
  2. ZetaContrast contrast = ZetaContrast.aa,
  3. required int primary,
  4. required Map<int, Color> swatch,
})

Constructs a ZetaColorSwatch.

See also:

Implementation

const ZetaColorSwatch({
  this.brightness = Brightness.light,
  this.contrast = ZetaContrast.aa,
  required int primary,
  required Map<int, Color> swatch,
}) : super(primary, swatch);