colors property Null safety
final
The colors the gradient should obtain at each of the stops.
If stops is non-null, this list must have the same length as stops.
This list must have at least two colors in it (otherwise, it's not a gradient!).
Implementation
final List<Color> colors;