updateSegmentTrackerStyle method

  1. @nonVirtual
void updateSegmentTrackerStyle(
  1. ChartSegment segment,
  2. Color trackColor,
  3. Color trackBorderColor,
  4. double trackBorderWidth,
)
inherited

Implementation

@nonVirtual
void updateSegmentTrackerStyle(ChartSegment segment, Color trackColor,
    Color trackBorderColor, double trackBorderWidth) {
  if (segment is BarSeriesTrackerMixin) {
    segment.trackerFillPaint.color = trackColor;
    segment.trackerStrokePaint
      ..color = trackBorderColor
      ..strokeWidth = trackBorderWidth;
  }
}