paintSegments method
Implementation
@protected
void paintSegments(PaintingContext context, Offset offset) {
if (segments.isNotEmpty) {
for (final ChartSegment segment in segments) {
segment.animationFactor = segmentAnimationFactor;
segment.onPaint(context.canvas);
}
}
}