LoadablePaginatedListViewModel<Item extends StoreListItem> class
- Inheritance
-
- Object
- LoadableListViewModel<
Item> - LoadablePaginatedListViewModel
Constructors
-
LoadablePaginatedListViewModel({Key key, @required Widget errorWidget, @required Widget emptyStateWidget, @required Widget itemBuilder(int), @required PaginatedList<
Item> paginatedList, @required Widget errorPageWidget, VoidCallback loadList, EdgeInsets padding, Axis scrollDirection = Axis.vertical, Widget itemSeparator(int), VoidCallback loadPage})
Properties
- emptyStateWidget → Widget
-
finalinherited
- errorPageWidget → Widget
-
final
- errorWidget → Widget
-
finalinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- itemBuilder → Widget Function(int)
-
finalinherited
-
items
→ StoreList<
Item> -
finalinherited
- itemsCount → int
-
read-onlyoverride
- itemSeparator → Widget Function(int)
-
finalinherited
- key → Key
-
finalinherited
- loadList → VoidCallback
-
finalinherited
- loadListRequestState → OperationState
-
finalinherited
- loadPage → VoidCallback
-
final
- padding → EdgeInsets
-
finalinherited
-
paginatedList
→ PaginatedList<
Item> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- scrollDirection → Axis
-
finalinherited
Methods
-
getPaginationState(
) → PaginationState -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited