startSearch method

void startSearch()

Displays the search field over the title in the app bar.

Implementation

void startSearch() {
  if (_enabled) return;

  _enabled = true;
  notifyListeners();
}