selectNext method
Move selection to the next result, wrapping around.
Implementation
void selectNext() {
if (_results.isEmpty) {
return;
}
_selectedIndex = (_selectedIndex + 1) % _results.length;
}
Move selection to the next result, wrapping around.
void selectNext() {
if (_results.isEmpty) {
return;
}
_selectedIndex = (_selectedIndex + 1) % _results.length;
}