AtomicListValueController<T> class

Inheritance
Available extensions

Constructors

AtomicListValueController.new([List<T>? initialValue])

Properties

hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
isEmpty bool
no setter
isNotEmpty bool
no setter
isNotNull bool
no setterinherited
isNull bool
no setterinherited
length int
no setter
list List<T>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value List<T>?
The current value stored in this notifier.
getter/setter pairinherited

Methods

addCustomListener(VoidCallback listener) int
inherited
addItem(T item) → void
addItems(Iterable<T> items) → void
addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
addValueListener(ValueChanged<List<T>?> listener) int
inherited
clear() → void
clone() AtomicListValueController<T>

Available on AtomicListValueController<T>, provided by the AtomicListValueControllerExtensions extension

copy() AtomicValueController<List<T>>
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
filter(bool predicate(T)) → void
filteredView(bool predicate(T)) List<T>

Available on AtomicListValueController<T>, provided by the AtomicListValueControllerExtensions extension

getValueOrDefault(List<T> defaultValue) List<T>
inherited
insertAt(int index, T item) → void
makeUnique() → void

Available on AtomicListValueController<T>, provided by the AtomicListValueControllerExtensions extension

mirror() AtomicValueController<List<T>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
notifyListenersIfNotNull() → void
inherited
notifyListenersWhere(bool condition(List<T>? value)) → void
inherited
removeAllCustomListeners() → void
inherited
removeAllListeners() → void
inherited
removeAllValueListeners() → void
inherited
removeAt(int index) → T?
removeCustomListenerAt(int index) → void
inherited
removeItem(T item) bool
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
removeValueListenerAt(int index) → void
inherited
reset() → void
inherited
sort([int compare(T, T)?]) → void
toString() String
A string representation of this object.
inherited
transform(List<T>? transformer(List<T>? current)) → void
inherited
updateAt(int index, T item) → void
updateValue(List<T>? newValue, {bool notify = true}) → void
inherited
updateValueIfChanged(List<T>? newValue) → void
inherited

Operators

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