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