FormDeps class
Orchestrates side-effects triggered by form control changes.
Typical usage:
final deps = FormDeps(form);
deps.when(['a', 'b']).run(() {
// do something when a or b changes
});
Call dispose to detach listeners and avoid leaks.
Properties
Methods
-
dispose(
) → void - Detaches all listeners registered through this instance.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when(
Iterable< String> fieldNames) → DepSubscription - Creates a subscription builder for one or more control names.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited