withStops method

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