notifyRemovedRange method

void notifyRemovedRange (
  1. int from,
  2. int count,
  3. NullableIndexedWidgetBuilder removeItemBuilder
)

Notify the AnimatedSliverList that a range starting from from and count long has been removed. Call this method after actually you have updated your list. A new builder removeItemBuilder has to be provided in order to build the removed items when animating.

Implementation

void notifyRemovedRange(
    int from, int count, NullableIndexedWidgetBuilder removeItemBuilder) {
  _checkAdaptor();
  _adaptor._notifyReplacedRange(from, count, 0, removeItemBuilder);
}