ListAtomNotifier<T> class
- Inheritance
-
- Implemented types
-
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hasListeners
→ bool
-
Whether any listeners are currently registered.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
↔ List<T>
-
The current value stored in this notifier.
finalgetter/setter pairinherited-setteroverride-getter
Methods
-
add(T value)
→ void
-
Adds a value to the iterable atom
inherited
-
addAll(Iterable<T> values)
→ void
-
Adds all values to the iterable atom
inherited
-
addListener(VoidCallback listener)
→ void
-
Register a closure to be called when the object changes.
inherited
-
clear()
→ void
-
Clears all values from the iterable atom
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
-
insert(int index, T value)
→ void
-
Inserts a value at the given index
override
-
insertAll(int index, Iterable<T> values)
→ void
-
Inserts all values at the given index
override
-
listen(AtomListener<Iterable<T>> listener)
→ void
-
Adds a listener to the atom
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners()
→ void
-
Call all the registered listeners.
inherited
-
on<E extends T>(AtomListener<E> listener)
→ void
-
Adds a listener which executes when value is set as E
inherited
-
remove(T value)
→ void
-
Removes a value from the iterable atom
inherited
-
removeAll(Iterable<T> values)
→ void
-
Removes all values from the iterable atom
inherited
-
removeAt(int index)
→ void
-
Removes the value at the given index
override
-
removeLast()
→ void
-
Removes the last value
override
-
removeListener(VoidCallback listener)
→ void
-
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
removeListeners()
→ void
-
inherited
-
removeRange(int start, int end)
→ void
-
Removes a range of values
override
-
replaceRange(int start, int end, Iterable<T> values)
→ void
-
Replaces a range of values with the given values
override
-
set(Iterable<T> value)
→ void
-
Sets a given value for this atom
inherited
-
toString()
→ String
-
A string representation of this object.
inherited