notifyReplacedRange method

void notifyReplacedRange(
  1. int from,
  2. int removeCount,
  3. int insertCount,
  4. AnimatedWidgetBuilder removeItemBuilder,
)

Notifies the AnimatedListView that a range starting from from and removeCount long has been replaced with a new insertCount long range. Call this method after you have updated your list. A new builder removeItemBuilder has to be provided in order to build the replaced items when animating.

Implementation

void notifyReplacedRange(int from, int removeCount, int insertCount,
    AnimatedWidgetBuilder removeItemBuilder) {
  assert(_debugAssertBinded());
  _interface!
      .notifyReplacedRange(from, removeCount, insertCount, removeItemBuilder);
}