removeItem method

void removeItem(
  1. K itemKey, {
  2. bool animate = true,
})

Implementation

void removeItem(K itemKey, {bool animate = true}) {
  _checkNotDisposed();
  _requireItem(itemKey, "removeItem");
  _tree.remove(key: ItemKey<K>(itemKey), animate: animate);
}