BiDirectionalValueBound<T> class
A ValueBound that binds the source to the target bidirectionally.
- Inheritance
-
- Object
- ValueBound<
T> - BiDirectionalValueBound
Constructors
-
BiDirectionalValueBound(ValueNotifier<
T> source, ValueChangeNotifier<T> target) - Creates a BiDirectionalValueBound.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
source
→ ValueNotifier<
T> -
The source of the value.
final
-
target
→ ValueChangeNotifier<
T> -
The target that receives the value.
final
Methods
-
assertDebugTargetChange(
) → void -
Asserts that the target value is changed if the bound is unidirectional.
override
-
bind(
) → void -
Binds the source to the target.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unbind(
) → void -
Unbinds the source from the target.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited