hideOverlay method
void
hideOverlay()
Hides the search overlay.
Implementation
void hideOverlay() {
if (!_isOverlayVisible) return;
_isOverlayVisible = false;
// Don't reset _focusedIndex here - preserve it for when overlay reopens
if (_config.clearOnClose) {
clearSearch();
}
notifyListeners();
}