focusedSearchResultIndex property

int focusedSearchResultIndex

Gets the current focused search node index. If there are search results, this is going to be an index of searchResults list. It always going to be 0 by default.

Use focusNextSearchResult and focusPreviousSearchResult to change the current focused search node.

notifyListeners is called whenever this value changes.


int get focusedSearchResultIndex => _focusedSearchResultIndex;