searchNext method

void searchNext()

Moves to the next search result.

Implementation

void searchNext() {
  if (_searchResults.isEmpty) return;

  _currentSearchIndex = (_currentSearchIndex + 1) % _searchResults.length;
  notifyListeners();
}