Skip to content
This repository was archived by the owner on May 7, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions lib/src/bloc_select.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ class SelectBloc {
}
}

//A way to externally trigger the BLOC to rerun the query.
//Very useful if you have a changing filter being used as part of the
//search query.
Future<void> reload() async {
return _getItems();
}

Future<void> _getItems() async {
List<Map<String, dynamic>> res;

Expand Down