fetchSuggestions abstract method
Future<List<Suggestion> >
fetchSuggestions(
- String input, {
- bool includeFullSuggestionDetails = false,
- required List<
AutoCompleteType> types,
Returns autocomplete suggestions for input, restricted to types.
includeFullSuggestionDetails asks for Suggestion.mainText,
Suggestion.secondaryText, Suggestion.terms and Suggestion.types
to be populated when the backend can supply them. (It is set when the
widget's onInitialSuggestionClick callback is in use.)
Implementation
Future<List<Suggestion>> fetchSuggestions(String input,
{bool includeFullSuggestionDetails = false,
required List<AutoCompleteType> types});