removeItemAt method

void removeItemAt(
  1. int index
)

Implementation

void removeItemAt(int index) {
  super.onNotifyWithCallback(() {
    if (index >= 0 && index < itemCount) {
      var list = List<T>.from(items);
      list.removeAt(index);
      items = list;
    }
  });
}