requireTotalCount property
Whether page loads must request the total number of matching rows.
Enable this when UI features need exact page counts or global record information. Infinite paging can operate without an exact total.
Implementation
final bool requireTotalCount;