removeItemAt method
Removes an item at the given index.
Implementation
void removeItemAt(int index) {
if (index >= 0 && index < _selectedItems.length) {
_selectedItems.removeAt(index);
_notifySelectionChanged();
notifyListeners();
}
}