itemExtent property Null safety

double itemExtent
override

The main-axis extent of each item.

Implementation

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