A callback that produces a list of items based on the query either synchronously or asynchronously.
final FutureOr<Iterable<T>> Function(String text) filter;