LoadableListViewModel<Item extends StoreListItem> class

Implementers

Constructors

LoadableListViewModel({@required Widget itemBuilder(int), @required StoreList<Item> items, @required OperationState loadListRequestState, @required Widget errorWidget, @required Widget emptyStateWidget, Widget itemSeparator(int), Axis scrollDirection = Axis.vertical, Key key, VoidCallback loadList, EdgeInsets padding})
const

Properties

emptyStateWidget Widget
final
errorWidget Widget
final
hashCode int
The hash code for this object.
read-onlyinherited
itemBuilder Widget Function(int)
final
items → StoreList<Item>
final
itemsCount int
read-only
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.
read-onlyinherited
scrollDirection Axis
final

Methods

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