getStrokePaint method
Gets the border color of the series.
Implementation
@override
Paint getStrokePaint() {
final Paint strokePaint = Paint();
if (_strokeColor != null) {
strokePaint
..color = _series.borderColor
..style = PaintingStyle.stroke
..strokeWidth = _series.borderWidth;
_series.borderWidth == 0
? strokePaint.color = Colors.transparent
: strokePaint.color;
}
strokePaint.strokeCap = StrokeCap.round;
_defaultStrokeColor = strokePaint;
return strokePaint;
}