getFillPaint method

  1. @override
Paint getFillPaint ()
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;
}