isSearching property
Whether the search is active.
Implementation
bool get isSearching => onSearch != null && (search.isNotBlank || _isSearching);
Implementation
set isSearching(bool value) {
_isSearching = value;
if (!value) search = "";
if (onSearch != null) {
onSearch!(search);
}
}