removedSeparatorBuilder property

AnimatedItemBuilder? removedSeparatorBuilder
finalinherited

Called, as needed, to build separator widgets.

Separators are only built when they're scrolled into view.

The AnimatedItemBuilder index parameter indicates the separator's corresponding item's position in the scroll view. The value of the index parameter will be between 0 and initialItemCount plus the total number of items that have been inserted with AnimatedListState.insertItem and less the total number of items that have been removed with AnimatedListState.removeItem.

Implementations of this callback should assume that removeItem removes an item immediately.

Implementation

final AnimatedItemBuilder? removedSeparatorBuilder;