Called to fill the autocomplete list's data.
final Future<List<T?>> Function(String search) onSearch;