Marker class

Annotations

Constructors

Marker({required MarkerId markerId, required LatLng position, InfoWindow infoWindow = InfoWindow.noText, Offset anchor = const Offset(0.5, 1.0), bool draggable = false, bool flat = false, BitmapDescriptor icon = BitmapDescriptor.defaultMarker, double rotation = 0.0, double alpha = 1.0, bool visible = true, double zIndex = 0.0, bool clickable = false, bool clusterable = false, VoidCallback? onClick, ValueChanged<LatLng>? onDragEnd, ValueChanged<LatLng>? onDragStart, ValueChanged<LatLng>? onDrag, List animationSet = const <dynamic>[]})
const

Properties

alpha double
final
anchor Offset
final
animationSet List
final
clickable bool
final
clusterable bool
final
draggable bool
final
flat bool
final
hashCode int
The hash code for this object.
no setteroverride
icon BitmapDescriptor
final
infoWindow InfoWindow
final
markerId MarkerId
final
onClick VoidCallback?
final
onDrag ValueChanged<LatLng>?
final
onDragEnd ValueChanged<LatLng>?
final
onDragStart ValueChanged<LatLng>?
final
position LatLng
final
rotation double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visible bool
final
zIndex double
final

Methods

clone() Marker
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateCopy({LatLng? position, InfoWindow? infoWindow, Offset? anchor, bool? draggable, bool? flat, BitmapDescriptor? icon, double? rotation, double? alpha, bool? visible, double? zIndex, bool? clickable, bool? clusterable, VoidCallback? onClick, ValueChanged<LatLng>? onDragEnd, ValueChanged<LatLng>? onDragStart, ValueChanged<LatLng>? onDrag, List? animations}) Marker

Operators

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