PointTapArgs class Null safety

Holds the onPointTapped event arguments.

The PointTapArgs is the argument type of onPointTapped event, whenever the onPointTapped is triggered, gets the series index, current point index, and the data points.

Constructors

PointTapArgs([int? seriesIndex, num? viewportPointIndex, List? dataPoints, int? pointIndex])
Creating an argument constructor of PointTapArgs class.

Properties

dataPoints List?
Get the list of data points.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
pointIndex int?
Get the overall index value.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seriesIndex int?
Get the series index.
final
viewportPointIndex num?
Get the viewport index value.
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