TrackballMarkerSettings class Null safety

Options to customize the markers that are displayed when trackball is enabled.

Trackball markers are used to provide information about the exact point location, when the trackball is visible. You can add a shape to adorn each data point. Trackball markers can be enabled by using the markerVisibility property in TrackballMarkerSettings. Provides the options like color, border width, border color and shape of the marker to customize the appearance.



TrackballMarkerSettings({TrackballVisibilityMode markerVisibility =, double? height, double? width, Color? color, DataMarkerType? shape, double? borderWidth, Color? borderColor, ImageProvider<Object>? image})
Creating an argument constructor of TrackballMarkerSettings class.


borderColor Color?
Border color of the marker.
final, inherited
borderWidth double
Border width of the marker.
final, inherited
color Color?
Color of the marker shape.
final, inherited
hashCode int
The hash code for this object.
read-only, override
height double
Height of the marker shape.
final, inherited
image ImageProvider<Object>?
Image to be used as marker.
final, inherited
isVisible bool
Toggles the visibility of the marker.
final, inherited
markerVisibility TrackballVisibilityMode
Whether marker should be visible or not when trackball is enabled.
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shape DataMarkerType
Shape of the marker.
final, inherited
width double
Width of the marker shape.
final, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.