getFillPaint method

  1. @override
Paint getFillPaint ()
override

Gets the color of the series.

Implementation

@override
Paint getFillPaint() {
  final Paint fillPaint = Paint();
  if (color != null) {
    fillPaint.color = color.withOpacity(series.opacity);
  }
  fillPaint.style = PaintingStyle.fill;
  _defaultFillColor = fillPaint;
  _defaultFillColor = fillPaint;
  return fillPaint;
}