colors property

  1. @override
List<Color> get colors
override

A list of position-dependent colors — a color gradient.

Implementation

@override
List<Color> get colors => List.of(_swatch.colors, growable: _growable);