ItemExtentBuilder typedef

ItemExtentBuilder = double Function(int index, SliverLayoutDimensions dimensions)

Called to get the item extent by the index of item.

Used by ListView.itemExtentBuilder and SliverVariedExtentList.itemExtentBuilder.

Implementation

typedef ItemExtentBuilder = double Function(int index, SliverLayoutDimensions dimensions);