setData method

  1. @protected
  2. @mustCallSuper
void setData(
  1. int index,
  2. ChartSegment segment
)

Implementation

@protected
@mustCallSuper
void setData(int index, ChartSegment segment) {
  segment
    ..currentSegmentIndex = index
    ..animationFactor = segmentAnimationFactor;
}