LabelMarkerOptions class
Options for label attached to a marker.
- Inheritance
-
- Object
- MarkerOptions
- LabelMarkerOptions
Constructors
- LabelMarkerOptions({Alignment alignment = Alignment.bottomRight, bool rotate = true, required Widget label, bool hideOnEdit = false, EdgeInsets? margin})
-
const
Properties
- alignment → Alignment
-
Alignment of label relative to marker.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hideOnEdit → bool
-
Whether to hide label in edit mode.
final
- label → Widget
-
The label widget.
final
- margin → EdgeInsets?
-
Margin around label.
final
- rotate → bool
-
Whether label should rotate with map.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Alignment? alignment, bool? rotate, Widget? label, bool? hideOnEdit, EdgeInsets? margin}) → LabelMarkerOptions -
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