zetaColorSwatch property
ZetaColorSwatch
is a color swatch utility to produce different shades
of a primary color, following a specific progression of lightness and darkness.
This factory constructor creates a color swatch based on a provided primary color. The darker and lighter shades are determined by predefined percentage values.
It ensures that the 60th and 80th shades from swatch abide by AA and AAA accessibility standards on background
, respectively.
Implementation
ZetaColorSwatch get zetaColorSwatch => ZetaColorSwatch.fromColor(this);