removeItemAt method

void removeItemAt(
  1. int index
)

Removes an item at the given index.

Implementation

void removeItemAt(int index) {
  if (index >= 0 && index < _selectedItems.length) {
    _selectedItems.removeAt(index);
    _notifySelectionChanged();
    notifyListeners();
  }
}