ColorSequence.fromStartAndEndColor constructor
Creates a new color sequence from a start and an end color.
Implementation
ColorSequence.fromStartAndEndColor(Color start, Color end) {
colors = <Color>[start, end];
colorStops = <double>[0.0, 1.0];
}