isInfoWindowShown method

bool isInfoWindowShown(
  1. MarkerId markerId
)

Returns whether or not the InfoWindow of a MarkerId is shown.

See also showMarkerInfoWindow and hideMarkerInfoWindow.

Implementation

bool isInfoWindowShown(MarkerId markerId) {
  final MarkerController? markerController = _markerIdToController[markerId];
  return markerController?.infoWindowShown ?? false;
}