itemExtent property

double? itemExtent
final

The extent the children are forced to have in the main axis.

The item extent should not exceed the available space that the carousel view occupies to ensure at least one item is fully visible.

This is required for CarouselView. In CarouselView.weighted, this is null.

Implementation

final double? itemExtent;