currentSuggestion property
String
get
currentSuggestion
Gets current suggestion.
Implementation
String get currentSuggestion {
if (_currentSuggestionIndex >= _matchedSuggestions.length) {
return '';
}
return _matchedSuggestions[_currentSuggestionIndex].join();
}