SwatchBase constructor

const SwatchBase(
  1. Iterable<Palette> _palettes
)

Swatch colors from palettes.

Upon colors request, it retrieves a new lazy Iterable of Color.

Implementation

const SwatchBase(this._palettes);