PaginationMixin<R> mixin
Properties
- currentPageNumber ↔ int
-
will be null?
getter/setter pair
- defaultPageSize → int
-
no setter
- defaultStartPage → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isScrollDown → RxBool
-
final
-
paginateDataList
→ RxList<
R> -
final
- paginationCacheKey → String
-
if want to enable list cache, override paginationCacheKey and give localCacheKey a not-empty value. else leave it empty.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollController ↔ ScrollController?
-
getter/setter pair
- scrollDownOffset → double
-
no setter
- total ↔ int
-
getter/setter pair
Methods
-
animateToTop(
{Duration? duration = const Duration(milliseconds: 100), Curve? curve = Curves.linear}) → void -
deleteListCache(
) → void -
getRefreshController(
{bool initialRefresh = false}) → RefreshController -
loadMore(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onRefreshed(
) → void -
refreshList(
{int? wantPageSize, dynamic onRefreshEnd()?, bool showRefresh = true}) → Future< void> -
requestPaginateData(
int currentPageNumber, int pageSize, dynamic setTotal(int total)) → Future< List< R> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited