SelectionArgs class Null safety

Holds the onSelectionChanged event arguments.

Here selectedColor, unselectedColor, selectedBorderColor, selectedBorderWidth, unselectedBorderColor and unselectedBorderWidth can be customized.

Constructors

SelectionArgs({required dynamic seriesRenderer, required int seriesIndex, required int viewportPointIndex, required int pointIndex})
Creating an argument constructor of SelectionArgs class.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
pointIndex int
Get the overall index value of the selected data points.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
selectedBorderColor Color?
Get and set the border color of the selected series or data points.
read / write
selectedBorderWidth double?
Get and set the border width of the selected series or data points.
read / write
selectedColor Color?
Get and set the color of the selected series or data points.
read / write
seriesIndex int
Get the series index.
final
seriesRenderer → dynamic
Get the selected series.
final
unselectedBorderColor Color?
Get and set the border color of the unselected series or data points.
read / write
unselectedBorderWidth double?
Get and set the border width of the unselected series or data points.
read / write
unselectedColor Color?
Get and set the color of unselected series or data points.
read / write
viewportPointIndex int
Get the viewport index value of the selected data points.
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