LoadableGridViewModel<Item extends StoreListItem> class
- Implementers
Constructors
-
LoadableGridViewModel({required Widget itemBuilder(int), required List<
Item> items, required OperationState loadListRequestState, required Widget errorWidget, required Widget emptyStateWidget, required SliverGridDelegate gridDelegate, OperationState? loadPageRequestState, Key? key, VoidCallback? loadList, ScrollPhysics? physics, EdgeInsets? padding, Widget? header, bool shrinkWrap = false}) -
const
Properties
- emptyStateWidget → Widget
-
final
- errorWidget → Widget
-
final
- gridDelegate → SliverGridDelegate
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → Widget?
-
final
- itemBuilder → Widget Function(int)
-
final
-
items
→ List<
Item> -
final
- itemsCount → int
-
no setter
- key → Key?
-
final
- loadList → VoidCallback?
-
final
- loadListRequestState → OperationState
-
final
- loadPageRequestState → OperationState?
-
final
- padding → EdgeInsets?
-
final
- physics → ScrollPhysics?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shrinkWrap → bool
-
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