primitive property Null safety

PrimitiveGradient primitive
final

The most basic representation of a Gradient:
a list of colors and a list of stops.

This object is created by factory PrimitiveGradient.fromStretchLerp using these two lists of colors and two lists of stops and which considers a keyframe t for interpolating between them.

Implementation

final PrimitiveGradient primitive;