selectNext method

void selectNext()

Move selection to the next result, wrapping around.

Implementation

void selectNext() {
  if (_results.isEmpty) {
    return;
  }
  _selectedIndex = (_selectedIndex + 1) % _results.length;
}