makeGradient method Null safety

  1. @protected
Gradient makeGradient(
  1. Offset start,
  2. Offset end,
  3. List<Color> colors,
  4. List<double> colorPositions
)

Implementation

@protected
ui.Gradient makeGradient(ui.Offset start, ui.Offset end,
        List<ui.Color> colors, List<double> colorPositions) =>
    ui.Gradient.linear(start, end, colors, colorPositions);