itemCount property

int? itemCount
final

The number of items in the carousel.

If null, the carousel will continue to build items until itemBuilder returns null.

When infinite is true, the carousel will loop infinitely.

Implementation

final int? itemCount;