MarkerIconAlignment enum

Defines the vertical alignment of a marker's icon relative to its content.

This enum provides three alignment options for positioning the icon:

  • top: Aligns the icon at the top of the marker's content
  • center: Centers the icon vertically relative to the marker's content
  • bottom: Aligns the icon at the bottom of the marker's content
Inheritance
Available extensions

Values

top → const MarkerIconAlignment

Aligns the icon at the top of the marker's content.

center → const MarkerIconAlignment

Centers the icon vertically relative to the marker's content.

bottom → const MarkerIconAlignment

Aligns the icon at the bottom of the marker's content.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asAlignmentGeometry() AlignmentGeometry
Converts the alignment to a Flutter AlignmentGeometry value.
asCrossAxisAlignment() CrossAxisAlignment
Converts the alignment to a Flutter CrossAxisAlignment value.
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

Constants

values → const List<MarkerIconAlignment>
A constant List of the values in this enum, in order of their declaration.