paint property

Paint get paint

Gets the Paint object configured based on the properties of this PaintedModel.

Implementation

Paint get paint => Paint()
  ..color = color
  ..strokeWidth = strokeWidth
  ..style = shouldFill ? PaintingStyle.fill : PaintingStyle.stroke;