itemCount property Null safety

int itemCount
final

The number of items in the list.

It must be a non-negative integer. When zero, nothing is displayed and the widget occupies no space.

Implementation

final int itemCount;