EndlessPaginationDelegate class

The delegate that specifies the pagination requirements for the list view such as the maximum number of pages to load and the page size.

Constructors

EndlessPaginationDelegate({required int pageSize, int? maxPages})

Properties

hashCode int
The hash code for this object.
no setterinherited
maxPages int?
The maximum number of pages to load. If unspecified, the scroll view will support endless scrolling until fewer than pageSize items are returned.
final
pageSize int
The number of expected items to be returned per page. Used to determine if the scroll view should stop loading data when fewer than pageSize items are returned by the loadMore API.
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