paintSegments method

  1. @protected
void paintSegments(
  1. PaintingContext context,
  2. Offset offset
)

Implementation

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