isSearching property

bool get isSearching

Whether the search is active.

Implementation

bool get isSearching => onSearch != null && (search.isNotBlank || _isSearching);
set isSearching (bool value)

Implementation

set isSearching(bool value) {
  _isSearching = value;
  if (!value) search = "";
  if (onSearch != null) {
    onSearch!(search);
  }
}