ScatterTouchedSpot class

Holds the touched spot data

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
Used for equality check, see EquatableMixin.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spot ScatterSpot
Touch happened on this spot
final
spotIndex int
Touch happened on this spot index
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({ScatterSpot? spot, int? spotIndex}) ScatterTouchedSpot
Copies current ScatterTouchedSpot to a new ScatterTouchedSpot, and replaces provided values.
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