FdcDataPagingOptions class
Configures adapter-backed dataset paging.
When enabled is false, the dataset requests the full adapter result set.
When enabled, pageSize controls the requested page size, mode selects
replacement or accumulating infinite paging, and requireTotalCount
requests a backend total for page navigation and record information.
Constructors
- FdcDataPagingOptions({bool enabled = false, int pageSize = 1000, int maxPageSize = 10000, bool requireTotalCount = false, FdcDataPagingMode mode = FdcDataPagingMode.standard, double infiniteLoadThreshold = 0.70})
-
Creates a FdcDataPagingOptions.
const
- FdcDataPagingOptions.disabled()
-
Creates a FdcDataPagingOptions.
const
Properties
- enabled → bool
-
Whether adapter-backed paging is enabled.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- infiniteLoadThreshold → double
-
Fraction of the currently loaded row extent that must be visible before
an infinite-paging dataset preloads the next page.
final
- maxPageSize → int
-
Maximum page size accepted by normalizePageSize.
final
- mode → FdcDataPagingMode
-
Paging behavior used when enabled is
true.final - pageSize → int
-
Number of rows requested for each page.
final
- requireTotalCount → bool
-
Whether page loads must request the total number of matching rows.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- usesInfinitePaging → bool
-
Whether paging is enabled in accumulating infinite mode.
no setter
Methods
-
normalizePageSize(
int value) → int - Validates and returns a requested page size.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void - Validates paging configuration in runtime builds.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited