removeAt method

void removeAt(
  1. int index
)

Remove item at index

Implementation

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