loadingSize property

int get loadingSize

Retrieves the total number of items to load.

If limit is set, returns the remaining items to reach the limit.

Returns loadingSize if the initial load is in progress.

Retrieves the size of the loading batch.

Implementation

int get loadingSize => size > 0 ? fetchingSize : initialSize;