strokePaint property

Paint strokePaint

Returns PaintingStyle.stroke based paint.

Implementation

Paint get strokePaint => Paint()
  ..color = color
  ..style = PaintingStyle.stroke
  ..strokeCap = StrokeCap.round
  ..strokeJoin = StrokeJoin.round
  ..strokeWidth = width;