createPaint abstract method

Paint createPaint(
  1. double t,
  2. Rect rect,
  3. TextDirection? textDirection
)

Evaluates the painting effect at animation value t

typically used to create shaders e.g LinearGradient shaders

Implementation

Paint createPaint(double t, Rect rect, TextDirection? textDirection);