Paint constructor

const Paint({
  1. BlendMode? blendMode,
  2. Stroke? stroke,
  3. Fill? fill,
})

Creates a new collection of painting attributes.

See Paint.

Implementation

const Paint({
  BlendMode? blendMode,
  this.stroke,
  this.fill,
}) : blendMode = blendMode ?? BlendMode.srcOver;