itemBuilder property
dynamic
itemBuilder
final
Called, as needed, to build list item widgets.
List items are only built when they're scrolled into view.
The AnimatedListItemBuilder
index parameter indicates the item's
position in the list. The value of the index parameter will be between 0
and initialItemCount plus the total number of items that have been
inserted with AnimatedGridState.insertItem and less the total number of
items that have been removed with AnimatedGridState.removeItem.
Implementations of this callback should assume that AnimatedGridState.removeItem removes an item immediately.
Implementation
final AnimatedListItemBuilder itemBuilder;