PopupController class abstract
Used to programmatically show/hide popups and find out which markers have visible popups.
Constructors
- PopupController.new()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Should be called once the PopupController is no longer used.
-
hideAllPopups(
{bool disableAnimation = false}) → void - Hide all popups that are showing.
-
hidePopupsOnlyFor(
List< Marker> markers, {bool disableAnimation = false}) → void - Hide popups showing for any of the given markers.
-
hidePopupsOnlyForSpecs(
List< PopupSpec> popupSpecs, {bool disableAnimation = false}) → void -
Hide popups showing for any of the markers of the given
popupSpecs
. -
hidePopupsWhere(
bool test(Marker marker), {bool disableAnimation = false}) → void -
Hide popups for which the provided
test
return true. -
hidePopupsWhereSpec(
bool test(PopupSpec popupSpec), {bool disableAnimation = false}) → void -
Hide popups for which the provided
test
return true. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
showPopupsAlsoFor(
List< Marker> markers, {bool disableAnimation = false}) → void -
Show the popups for the given
markers
. If a popup is already showing for a given marker it remains visible. -
showPopupsAlsoForSpecs(
List< PopupSpec> popupSpecs, {bool disableAnimation = false}) → void -
Show the popups for the markers of the given
popupSpecs
. If a popup is already showing for a given marker it remains visible. -
showPopupsOnlyFor(
List< Marker> markers, {bool disableAnimation = false}) → void -
Show the popups only for the given
markers
. All other popups will be hidden. If a popup is already showing for a given marker it remains visible. -
showPopupsOnlyForSpecs(
List< PopupSpec> popupSpecs, {bool disableAnimation = false}) → void -
Show the popups only for markers of the given
popupSpecs
. All other popups will be hidden. If a popup is already showing for a given marker it remains visible. -
togglePopup(
Marker marker, {bool disableAnimation = false}) → void -
Hide the popup if it is showing for the given
marker
, otherwise show it for thatmarker
. -
togglePopupSpec(
PopupSpec popupSpec, {bool disableAnimation = false}) → void -
Hide the popup if it is showing for the marker of the given
popupSpec
, otherwise show it for thatpopupSpec
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited