MarkerSettings class

Customizes the markers.

Markers are used to provide information about the exact point location. You can add a shape to adorn each data point. Markers can be enabled by using the isVisible property of MarkerSettings.

Provides the options of color, border width, border color and shape of the marker to customize the appearance.

Implementers

Constructors

MarkerSettings({bool? isVisible, double? height = 8, double? width = 8, Color? color, DataMarkerType? shape, double? borderWidth, Color? borderColor, ImageProvider<Object>? image})
Creating an argument constructor of MarkerSettings class.
const

Properties

borderColor Color?
Border color of the marker.
final
borderWidth double
Border width of the marker.
final
color Color?
Color of the marker shape.
final
hashCode int
The hash code for this object.
no setterinherited
height double
Height of the marker shape.
final
image ImageProvider<Object>?
Image to be used as marker.
final
isVisible bool
Toggles the visibility of the marker.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape DataMarkerType
Shape of the marker.
final
width double
Width of the marker shape.
final

Methods

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

Operators

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