colorStops property
Gets or sets a Map holding all of the color stops used in this gradient, where the key is a number, the fractional distance between 0 and 1 (inclusive), and where the corresponding value is a color string.
Call #addColorStop in order to add color stops to this brush. This property value may be null if no gradient stops have been defined.
Implementation
_i3.Map<_i2.num, _i2.String>? get colorStops => _i4.getProperty(
this,
'colorStops',
);