onPaint method
Draws segment in series bounds.
Implementation
@override
void onPaint(Canvas canvas) {
// ignore: unnecessary_null_comparison
_series.dashArray != null
? _drawDashedLine(canvas, _series.dashArray, strokePaint!,
_seriesRenderer._segmentPath!)
: canvas.drawPath(_seriesRenderer._segmentPath!, strokePaint!);
}