PagingHelper class
Constructors
- PagingHelper({bool? hasNext = false, bool? loadNext = false, String? nextUrl, int? page = 1, WidgetCallback? error, int? totalPages, Widget loader = const Center(child: CircularProgressIndicator())})
Properties
- error ↔ WidgetCallback?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasNext ↔ bool?
-
getter/setter pair
- loader ↔ Widget
-
getter/setter pair
- loadNext ↔ bool?
-
getter/setter pair
- nextUrl ↔ String?
-
getter/setter pair
- page ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalPages ↔ int?
-
getter/setter pair
Methods
-
copyWith(
{bool? hasNext, bool? loadNext, String? nextUrl, int? page, int? totalPages, WidgetCallback? error, Widget? loader}) → PagingHelper -
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
Static Methods
-
init(
{Widget? loader, WidgetCallback? error}) → PagingHelper