PaintExtension extension

on

Methods

setColorOrGradient(Color? color, Gradient? gradient, Rect rect) → void

Available on Paint, provided by the PaintExtension extension

transparentIfWidthIsZero() → void

Available on Paint, provided by the PaintExtension extension

Hides the paint's color, if strokeWidth is zero