jumpTo method
Jumps focus to a specific index (clamped to valid range).
Implementation
void jumpTo(int index) {
if (_itemCount == 0) return;
_focusedIndex = index.clamp(0, _itemCount - 1);
}
Jumps focus to a specific index (clamped to valid range).
void jumpTo(int index) {
if (_itemCount == 0) return;
_focusedIndex = index.clamp(0, _itemCount - 1);
}