closeSearch method

void closeSearch()

Hides the search field from the app bar.

Implementation

void closeSearch() {
  if (!_enabled) return;

  _enabled = false;
  notifyListeners();
}