RadarTouchedSpot class
It gives you information about the touched spot.
- Inheritance
-
- Object
- TouchedSpot
- RadarTouchedSpot
Constructors
- 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
, andtouchedDataSetIndex
tell you in which dataSet touch happened,touchedRadarEntry
, andtouchedRadarEntryIndex
tell you in which entry touch happened, You can also have the touched x and y in the chart as a FlSpot usingspot
value, and you can have the local touch coordinates on the screen as a Offset usingoffset
value.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → Offset
-
Represents the touch position in device pixels,
0, 0 is top, left, and 1, 1 is bottom right.
finalinherited
-
props
→ List<
Object?> -
Used for equality check, see
EquatableMixin
.no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spot → FlSpot
-
Represents the spot inside our axis based chart,
0, 0 is bottom left, and 1, 1 is top right.
finalinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - touchedDataSet → RadarDataSet
-
final
- touchedDataSetIndex → int
-
final
- touchedRadarEntry → RadarEntry
-
final
- touchedRadarEntryIndex → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited