hideOverlay method

void hideOverlay()

Method to hide the tooltip

Implementation

void hideOverlay() {
  if (overlayEntry != null) {
    overlayEntry?.remove();
    overlayEntry = null;
  }
}