withStops method
This gradient with other colours at other positions, its shape kept — what every stop edit is.
Implementation
@override
SweepPaint withStops(List<SceneColor> colors, List<double>? stops) =>
SweepPaint(
colors: colors,
stops: stops,
center: center,
startAngle: startAngle,
endAngle: endAngle,
);