moveToFirstItem method
void
moveToFirstItem()
Moves focus to the first item.
Implementation
void moveToFirstItem() {
if (_itemCount > 0) {
_focusedIndex = 0;
notifyListeners();
}
}
Moves focus to the first item.
void moveToFirstItem() {
if (_itemCount > 0) {
_focusedIndex = 0;
notifyListeners();
}
}