ListSignal<T> class
Constructors
Properties
Methods
-
add(
T item) → void -
batch<
R> (R callback(List< T> )) → R -
Executes multiple state updates in a batch, sending only one notification.
inherited
-
call(
) → List< T> -
Returns the current state value.
inherited
-
combine<
R, U> (Signal< U> other, R combinator(List<T> , U)) → Signal<R> -
Creates a combined signal from two source signals.
inherited
-
computed<
R> (R compute(List< T> )) → Signal<R> -
Creates a computed signal that automatically recalculates when this signal changes.
inherited
-
dispose(
) → void -
Removes all listeners and cleans up resources.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
) → void -
inherited
-
onChanged(
List< T> oldValue, List<T> newValue) → void -
Override this method to react to state changes.
inherited
-
remove(
T item) → bool -
removeAt(
int index) → T? -
removeLast(
) → T? -
removeWhere(
bool test(T)) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unwatch(
[Object? watcher]) → void -
Removes a specific listener from this signal.
inherited
-
watch(
SignalCallback callback, [Object? identifier]) → SignalListener -
Registers a listener that will be called whenever this signal's state changes.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited