MarkerRenderArgs class Null safety

Holds the onMarkerRender event arguments.

MarkerRenderArgs is the argument type of onMarkerRender event. Whenever the onMarkerRender is triggered, the shape of the marker, color, marker width, height, border color, and border width can be customized.

Has the public properties of point index, series index, shape, marker width, and height.

Constructors

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

Properties

borderColor Color?
Get and set the border color of the marker.
read / write
borderWidth double
Get and set the border width of marker.
read / write
color Color?
Get and set the color of the marker.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
markerHeight double
Get and set the height of the marker.
read / write
markerWidth double
Get and set the width of the marker.
read / write
pointIndex int?
Get the overall index value of the marker.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seriesIndex int?
Get the series index of the marker.
final
shape DataMarkerType
Get and set the shape of the marker.
read / write
viewportPointIndex num?
Get the viewport index value of the marker.
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