onInserted method

  1. @mustCallSuper
  2. @protected
  3. @override
void onInserted(
  1. int index,
  2. E item
)
inherited

Called when an item was inserted into the list.

Implementation

@mustCallSuper
@protected
@override
void onInserted(int index, E item) =>
    list.insertItem(index, duration: widget.insertDuration);