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
Annotations

Constructors

MarkerSettings({bool isVisible = false, Color? color, DataMarkerType shape = DataMarkerType.circle, double height = 8.0, double width = 8.0, Color? borderColor, double borderWidth = 2.0, 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 setteroverride
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

copyWith({bool? isVisible, Color? color, DataMarkerType? shape, double? height, double? width, Color? borderColor, double? borderWidth, ImageProvider<Object>? image}) MarkerSettings
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.
override