clearOverlay method

void clearOverlay()

Hides the autocomplete overlay

Implementation

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