AntColor constructor

const AntColor(
  1. int primary,
  2. Map<int, Color> swatch
)

Creates a color swatch and a set of 10 shades of the color.

Implementation

const AntColor(super.primary, super.swatch);