DataMarkerType enum Null safety

Data marker shapes.

Data marker supports the below shapes. If the shape is DataMarkerType.image, specify the image path in the imageUrl property of markerSettings.

Inheritance

Constructors

DataMarkerType()
const

Values

circle → const DataMarkerType
  • DataMarkerType.cicle, will render marker shape circle.
const DataMarkerType(0)
rectangle → const DataMarkerType
  • DataMarkerType.rectangle, will render marker shape rectangle.
const DataMarkerType(1)
image → const DataMarkerType
  • DataMarkerType.image, will render marker image.
const DataMarkerType(2)
pentagon → const DataMarkerType
  • DataMarkerType.pentagon, will render marker shape pentagon.
const DataMarkerType(3)
verticalLine → const DataMarkerType
  • DataMarkerType.verticalLine, will render marker verticalLine.
const DataMarkerType(4)
horizontalLine → const DataMarkerType
  • DataMarkerType.horizontalLine, will render marker horizontalLine.
const DataMarkerType(5)
diamond → const DataMarkerType
  • DataMarkerType.diamond, will render marker shape diamond.
const DataMarkerType(6)
triangle → const DataMarkerType
  • DataMarkerType.triangle, will render marker shape triangle.
const DataMarkerType(7)
invertedTriangle → const DataMarkerType
  • DataMarkerType.invertedTriangle, will render marker shape invertedTriangle.
const DataMarkerType(8)
none → const DataMarkerType
  • DataMarkerType.none, will skip rendering marker.
const DataMarkerType(9)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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

Constants

values → const List<DataMarkerType>
A constant List of the values in this enum, in order of their declaration.
[circle, rectangle, image, pentagon, verticalLine, horizontalLine, diamond, triangle, invertedTriangle, none]