DataListLoaderMixin<T> mixin Null safety

Mixin Applications

Properties

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

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 non-existent 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