onSearchTap method

bool onSearchTap(
  1. bool showSearch
)

Toggles the search field.

Implementation

bool onSearchTap(bool showSearch) {
  return !showSearch;
}