flexWeights property

List<int>? flexWeights
final

The weights that each visible child should occupy in the viewport.

This is a required property in M3ECarouselView.weighted. This is null for default M3ECarouselView. The integers must be greater than 0.

Implementation

final List<int>? flexWeights;