selectedSuggestion property

String get selectedSuggestion

Gets the currently selected suggestion.

Implementation

String get selectedSuggestion => _selectedIndex < _filteredSuggestions.length
    ? _filteredSuggestions[_selectedIndex]
    : '';