ScatterTouchedSpot constructor
const
ScatterTouchedSpot(
- ScatterSpot spot,
- int spotIndex
spot, and spotIndex tells you in which spot (of ScatterChartData.scatterSpots) touch happened.
Implementation
const ScatterTouchedSpot(this.spot, this.spotIndex);