search property

FutureOr<Iterable<Fluent2Option<T>>> Function(String query)? search
final

Finds the options for the typed words, in place of filtering options: an app's own search, at once or on its way. Only the latest words' answer shows. While it is on its way the list shows a spinner and "Loading"; when it throws, the list says the search failed and offers "Try again", which Down reaches, the input keeping the focus.

Implementation

final FutureOr<Iterable<Fluent2Option<T>>> Function(String query)? search;