withStops method

  1. @override
RadialPaint 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
RadialPaint withStops(List<SceneColor> colors, List<double>? stops) =>
    RadialPaint(colors: colors, stops: stops, center: center, radius: radius);