PopupSpec class
Contains the data relevant for constructing a popup.
Constructors
- PopupSpec.new({required Marker marker, int? removeIfZoomLessThan, String? namespace, LatLng? markerPointOverride, AlignmentGeometry? markerRotateAlignmentOveride, bool removeMarkerRotateOrigin = false, AnchorPos? markerAnchorPosOverride})
- PopupSpec.wrap(Marker marker)
- A convenience constructor for creating a PopupSpec without setting optional fields.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- key → Key
-
Used internally to maintain the popup's state when it is off-screen.
final
- marker → Marker
-
The Marker for which this popup should be shown.
final
- markerAnchor → Anchor
-
no setter
- markerAnchorPos → AnchorPos?
-
no setter
- markerAnchorPosOverride → AnchorPos?
-
Override the marker's anchor. This will only affect popup placement when
using a marker snap.
final
- markerHeight → double
-
no setter
- markerPoint → LatLng
-
/////////////////////////
Marker method overrides //
/////////////////////////
no setter
- markerPointOverride → LatLng?
-
Override the marker's point. This will only affect popup placement when
using a marker snap.
final
- markerRotate → bool
-
//////////////////////
Marker method proxies //
//////////////////////
no setter
- markerRotateAlignmentOveride → AlignmentGeometry?
-
Override the marker's rotateAlignment. This will only affect popup
placement when using a marker snap.
final
- markerWidth → double
-
no setter
- namespace → String?
-
final
- removeIfZoomLessThan → int?
-
If set this popup will removed when the map zoom rounded up to the
nearest int is less than this value.
final
- removeMarkerRotateOrigin → bool
-
Remove the marker's rotateOrigin.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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