LoadableListViewModel<Item extends StoreListItem> class

Implementers

Constructors

LoadableListViewModel({required List<Item> items, required Widget itemBuilder(int), required Widget emptyStateWidget, required OperationState loadListRequestState, required Widget errorWidget, required Widget itemSeparator(int), VoidCallback? loadList, EdgeInsets? padding, Widget? sliverHeader, Widget? header, Widget? footer, Key? key})
const

Properties

emptyStateWidget Widget
final
errorWidget Widget
final
final
hashCode int
The hash code for this object.
no setterinherited
final
itemBuilder Widget Function(int)
final
items List<Item>
final
itemsCount int
no setter
itemSeparator Widget Function(int)
final
key Key?
final
loadList VoidCallback?
final
loadListRequestState OperationState
final
padding EdgeInsets?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sliverHeader Widget?
final

Methods

getPaginationState() PaginationState
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