openSearch method

void openSearch()

Morphs the bar into search input mode if a search action is present.

If the bar is already in search mode or has been disposed, calling this method is an idempotent no-op.

Implementation

void openSearch() {
  if (_disposed || _searching) return;
  _searching = true;
  notifyListeners();
}