selectable suggestion provider
This commit is contained in:
@@ -21,6 +21,12 @@ Stream<BangData?> defaultSearchBangData(Ref ref) {
|
||||
return repository.watchBang(trigger);
|
||||
}
|
||||
|
||||
@Riverpod()
|
||||
Stream<BangData?> bangData(Ref ref, String trigger) {
|
||||
final repository = ref.watch(bangDataRepositoryProvider.notifier);
|
||||
return repository.watchBang(trigger);
|
||||
}
|
||||
|
||||
@Riverpod()
|
||||
Stream<Map<String, List<String>>> bangCategories(Ref ref) {
|
||||
final repository = ref.watch(bangDataRepositoryProvider.notifier);
|
||||
|
||||
Reference in New Issue
Block a user