itemExtent property

  1. @override
double get itemExtent
override

The main-axis extent of each item.

If this is non-null, the itemExtentBuilder must be null. If this is null, the itemExtentBuilder must be non-null.

Implementation

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