getStrokePaint method
Gets the border color of the series.
Implementation
@override
Paint getStrokePaint() {
_setSegmentProperties();
strokePaint = Paint()
..color = _segmentProperties.color!
.withOpacity(_segmentProperties.series.opacity)
..style = PaintingStyle.stroke
..strokeWidth = _segmentProperties.series.width!;
_segmentProperties.defaultStrokeColor = strokePaint;
setShader(_segmentProperties, strokePaint!);
return strokePaint!;
}