effectiveItemCount property
int
get
effectiveItemCount
Effective number of items, regardless of which constructor was
used. Returns children!.length for eager, itemCount! for
lazy.
Implementation
int get effectiveItemCount => children?.length ?? itemCount!;