spectrum property

List<Color> spectrum

the gradient definition

Implementation

List<Color> get spectrum => _rb.spectrum
    .map((h) => _hexToColor(h.substring(1)))
    .toList(growable: false);