hideOverlay method
void
hideOverlay()
Method to hide the tooltip
Implementation
void hideOverlay() {
if (overlayEntry != null) {
overlayEntry?.remove();
overlayEntry = null;
}
}
Method to hide the tooltip
void hideOverlay() {
if (overlayEntry != null) {
overlayEntry?.remove();
overlayEntry = null;
}
}