moveToLastItem method
void
moveToLastItem()
Moves focus to the last item.
Implementation
void moveToLastItem() {
if (_itemCount > 0) {
_focusedIndex = _itemCount - 1;
notifyListeners();
}
}
Moves focus to the last item.
void moveToLastItem() {
if (_itemCount > 0) {
_focusedIndex = _itemCount - 1;
notifyListeners();
}
}