AxisLabelTapArgs class Null safety

Holds the onAxisLabelTapped event arguments.

This is the argument type of the onAxisLabelTapped event. Whenever the axis label is tapped, the onAxisLabelTapped event is triggered and provides options to get the axis type, label text, and axis name.

Constructors

AxisLabelTapArgs([ChartAxis? axis, String? axisName])
Creating an argument constructor of AxisLabelTapArgs class.

Properties

axis ChartAxis?
Get the type of chart axis and its properties.
final
axisName String?
Get the axis name.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
Get the text of the axis label at the tapped position.
read / write
value num
Get the value holds the properties of the visible label.
read / write

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