DataLabelTapDetails class Null safety

Holds the onDataLabelTapped callback arguments.

Whenever the data label is tapped, onDataLabelTapped callback will be called. Provides options to get the position of the data label, series index, point index and its text.

Constructors

DataLabelTapDetails(int seriesIndex, int viewportPointIndex, String text, DataLabelSettings dataLabelSettings, int pointIndex)
Creating an argument constructor of DataLabelTapDetails class.

Properties

dataLabelSettings DataLabelSettings
Get the data label customization options specified in that particular series.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
pointIndex int
Get the overall index value of the tapped data label.
final
position Offset
Get the position of the tapped data label in logical pixels.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seriesIndex int
Get the series index of the tapped data label.
final
text String
Get the text of the tapped data label.
final
viewportPointIndex int
Get the viewport index value of the tapped data label.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited