PaginationSetting class
A list of pagination settings for PaginationDataView.
Constructors
- PaginationSetting({dynamic initialIndicator = 1, dynamic nothingIndicator, dynamic currentIndicator, dynamic currentNextIndicator})
-
const
Properties
- currentIndicator → dynamic
-
The current indicator for pagination, default to initialIndicator, and this option will be
used to append data (not reset or refresh) only when given data is not empty.
final
- currentNextIndicator → dynamic
-
The current next indicator for pagination, default to currentIndicator + 1, and this option
will be used to append data (not reset or refresh) only when given data is not empty.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialIndicator → dynamic
-
The initial indicator for pagination, default to 1 and must not be null. Note that if you are
using seek based pagination strategy, it is necessary to set this value to your own.
final
- nothingIndicator → dynamic
-
The indicator which means there is no data at following page, defaults to null for no check.
Note that this checking will have no effect when resetting or refreshing the data view.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited