added function to remove search text

This commit is contained in:
2026-01-21 12:16:37 +01:00
parent 3bc7d713dd
commit 321a310add

View File

@@ -8,5 +8,10 @@ class SearchProvider extends ChangeNotifier {
if (!silent) notifyListeners();
}
void removeSearchText({bool silent = false}) {
_searchText = '';
if (!silent) notifyListeners();
}
String get searchText => _searchText;
}