withStops method

  1. @override
SweepPaint withStops(
  1. List<SceneColor> colors,
  2. List<double>? stops
)
override

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,
    );