DataListLoaderMixin<T> mixin

Mixin applications

Properties

animateRemovingItemsOnReload bool
no setter
betweenItemRenderDelay Duration?
no setter
dataLength int
no setter
dataList List<T>
no setter
dataSubject → BehaviorSubject<DataWrapper<T>?>
final
errorStream → BehaviorSubject<Object?>
final
hashCode int
The hash code for this object.
no setterinherited
isListReady bool
no setter
lastElement Widget
no setter
listLength int
no setter
loadingStream → BehaviorSubject<bool>
final
queue List<dynamic Function()>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(T item) Future<void>
addAt(int index, T item) int
callOnAdd(int index, T item, {required bool skipDelay}) Future<void>
callOnRemove(int index, {required bool skipDelay}) Future<void>
callOnUpdate(int index, T item, {required bool skipDelay}) Future<void>
comparator() int Function(T a, T b)?
disposeMixin() → void
getElementError(BuildContext context, dynamic error) Widget
getEndOfResultWidget() Widget
getIndexOf(T item) int
getItem(int index) → T
getItemLoadingWidget() Widget
getLoader() Future<List<T>?> Function(int index)
initMixin() → void
load({bool reload = false, bool ignoreIfLoading = false}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAdd(int index, T? item) → void
onRemove(int index) → void
onUpdate(int index, T item) → void
reload() Future<void>
removeAt(int index) → void
removeItem(T item, [int? index]) Future<void>
removeWere(bool filter(T)) Future<void>
toString() String
A string representation of this object.
inherited
update(T item) Future<void>
updateItem(int index, T newValue) → dynamic

Operators

operator ==(Object other) bool
The equality operator.
inherited