paint method

T paint(
  1. Color color,
  2. double stop
)

@varies ~ adds color with stop

Implementation

T paint(Color color, double stop) => gradientFill(this().paints..add(DecorPaint(color, stop)));