TListMixin<T, K> mixin
Mixin for widgets that implement list behavior.
This mixin defines the interface for list-based widgets, requiring properties for items, pagination, and data loading.
- Mixin applications
Properties
-
controller
→ TListController<
T, K> ? -
The controller managing the list state.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
itemKey
→ ItemKeyAccessor<
T, K> ? -
Function to extract a unique key from an item.
no setter
-
items
→ List<
T> ? -
The list of items to display.
no setter
- itemsPerPage → int?
-
The number of items to display per page.
no setter
-
onLoad
→ TLoadListener<
T> ? -
Callback for loading items from a server.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- search → String?
-
The current search query.
no setter
- searchDelay → int?
-
Debounce delay for search in milliseconds.
no setter
Methods
-
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