getFillPaint method
Gets the color of the series.
Implementation
@override
Paint getFillPaint() {
final Paint _fillPaint = Paint();
assert(_series.opacity >= 0,
'The opacity value of the Hilo series will not accept negative numbers.');
assert(_series.opacity <= 1,
'The opacity value of the Hilo series must be less than or equal to 1.');
if (_color != null) {
_fillPaint.color =
_pointColorMapper ?? _color!.withOpacity(_series.opacity);
}
_fillPaint.strokeWidth = _strokeWidth!;
_fillPaint.style = PaintingStyle.fill;
_defaultFillColor = _fillPaint;
return _fillPaint;
}