itemExtent property

double itemExtent
override

The main-axis extent of each item.

Implementation

@override
double get itemExtent => constraints.viewportMainAxisExtent * viewportFraction;