PieTouchedSection constructor

PieTouchedSection(
  1. PieChartSectionData? touchedSection,
  2. int touchedSectionIndex,
  3. double touchAngle,
  4. double touchRadius,
)

This class Contains touchedSection, touchedSectionIndex that tells you touch happened on which section, touchAngle gives you angle of touch, and touchRadius gives you radius of the touch.

Implementation

PieTouchedSection(
  this.touchedSection,
  this.touchedSectionIndex,
  this.touchAngle,
  this.touchRadius,
);