MarkerTapBehavior.togglePopup constructor

MarkerTapBehavior.togglePopup()

Toggle the popup of the tapped marker and leave all other visible popups as they are. This is the recommended behavior if you want to show multiple popups at once.

Implementation

MarkerTapBehavior.togglePopup()
    : _onTap = ((
        PopupSpec popupSpec,
        PopupState popupState,
        PopupController popupController,
      ) {
        popupController.togglePopupSpec(popupSpec);
      });