LoadablePaginatedGridViewModel<Item extends StoreListItem> class

Inheritance

Constructors

LoadablePaginatedGridViewModel({required Widget errorWidget, required Widget emptyStateWidget, required Widget itemBuilder(int), required SliverGridDelegate gridDelegate, required OperationState loadListRequestState, required OperationState loadPageRequestState, required List<Item> items, required Widget errorPageWidget, required bool isAllItemsLoaded, VoidCallback? loadList, EdgeInsets? padding, Widget? header, ScrollPhysics? physics, VoidCallback? loadPage, Key? key})

Properties

emptyStateWidget Widget
finalinherited
errorPageWidget Widget
final
errorWidget Widget
finalinherited
gridDelegate SliverGridDelegate
finalinherited
hashCode int
The hash code for this object.
no setterinherited
finalinherited
isAllItemsLoaded bool
final
itemBuilder Widget Function(int)
finalinherited
items List<Item>
finalinherited
itemsCount int
no setterinherited
key Key?
finalinherited
loadList VoidCallback?
finalinherited
loadListRequestState OperationState
finalinherited
loadPage VoidCallback?
final
loadPageRequestState OperationState?
finalinherited
padding EdgeInsets?
finalinherited
physics ScrollPhysics?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shrinkWrap bool
finalinherited

Methods

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