PopupMarkerLayerOptions class

Inheritance

Constructors

PopupMarkerLayerOptions({Key? key, required PopupBuilder popupBuilder, AlignmentGeometry? markerRotateAlignment, MarkerLongPressBehavior? markerLongPressBehavior, Offset? markerRotateOrigin, bool? markerRotate = true, Stream<void>? rebuild, PopupSnap popupSnap = PopupSnap.markerTop, MarkerCenterAnimation? markerCenterAnimation, PopupController? popupController, PopupAnimation? popupAnimation, required List<MarkerData> markersData, dynamic onPopupEvent(PopupEvent event, List<MarkerData> selectedMarkers)?, dynamic onTap(MarkerData)?})

Properties

alignment → Alignment
Alignment of each marker relative to its normal center at Marker.point
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
markerCenterAnimation → MarkerCenterAnimation?
Setting a MarkerCenterAnimation will cause the map to be centered on a marker when it is tapped. Defaults to not centering on the marker.
final
markerLongPressBehavior → MarkerLongPressBehavior
final
markers → List<Marker>
The list of Markers.
finalinherited
markersData → List<MarkerData>
final
onPopupEvent → dynamic Function(PopupEvent event, List<MarkerData> selectedMarkers)?
final
onTap → dynamic Function(MarkerData)?
final
popupAnimation → PopupAnimation?
Allows the use of an animation for showing/hiding popups. Defaults to no animation.
final
popupBuilder → PopupBuilder
Used to construct the popup.
final
popupController → PopupController?
If a PopupController is provided it can be used to programmatically show and hide the popup.
final
popupSnap → PopupSnap
Controls the position of the popup relative to the marker or popup.
final
rotate → bool
Whether to counter rotate markers to the map's rotation, to keep a fixed orientation
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
inherited
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

geometryFor(AlignmentGeometry geometry) → Alignment
rotationAlignmentFor(AnchorAlign anchorAlign) → AlignmentGeometry