moveToLastItem method

void moveToLastItem()

Moves focus to the last item.

Implementation

void moveToLastItem() {
  if (_itemCount > 0) {
    _focusedIndex = _itemCount - 1;
    notifyListeners();
  }
}