getFillPaint method
- @override
override
Gets the color of the series.
Implementation
@override
Paint getFillPaint() {
final Paint fillPaint = Paint();
if (strokeColor != null) {
fillPaint.color = strokeColor.withOpacity(series.opacity);
}
fillPaint.strokeWidth = strokeWidth;
fillPaint.style = PaintingStyle.stroke;
_defaultFillColor = fillPaint;
return fillPaint;
}