strokePaint method

  1. @protected
  2. @nonVirtual
Paint strokePaint(
  1. Color color,
  2. double width
)

描边图标用的画笔: 圆头线端、圆角拐点。

Implementation

@protected
@nonVirtual
Paint strokePaint(Color color, double width) => Paint()
  ..color = color
  ..style = PaintingStyle.stroke
  ..strokeWidth = width
  ..strokeCap = StrokeCap.round
  ..strokeJoin = StrokeJoin.round;