LegendTapArgs class Null safety
Holds the onLegendTapped event arguments.
When the legend is tapped, the onLegendTapped event is triggered and we can get the series
, seriesIndex, and pointIndex.
Constructors
- LegendTapArgs([dynamic series, int? seriesIndex, int? pointIndex])
- Creating an argument constructor of LegendTapArgs class.
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- pointIndex → int?
-
Get the current point index.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- series → dynamic
-
Get the current series. [...]
final
- seriesIndex → int?
-
Get the current series index.
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