RadarTouchedSpot constructor
RadarTouchedSpot(
- RadarDataSet touchedDataSet,
- int touchedDataSetIndex,
- RadarEntry touchedRadarEntry,
- int touchedRadarEntryIndex,
- FlSpot spot,
- Offset offset,
When touch happens, a RadarTouchedSpot returns as a output,
it tells you where the touch happened.
touchedDataSet
, and touchedDataSetIndex
tell you in which dataSet touch happened,
touchedRadarEntry
, and touchedRadarEntryIndex
tell you in which entry touch happened,
You can also have the touched x and y in the chart as a FlSpot using spot
value,
and you can have the local touch coordinates on the screen as a Offset using offset
value.
Implementation
RadarTouchedSpot(
this.touchedDataSet,
this.touchedDataSetIndex,
this.touchedRadarEntry,
this.touchedRadarEntryIndex,
FlSpot spot,
Offset offset,
) : super(spot, offset);