A bridge between a control and a native element.

A ControlValueAccessor abstracts the operations of writing a new value to a DOM element representing an input control.

Please see DefaultValueAccessor for more information.

Implemented by

Constructors

ControlValueAccessor()

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

registerOnChange(ChangeFunction<T> f) → void
Set the function to be called when the control receives a change event.
registerOnTouched(TouchFunction f) → void
Set the function to be called when the control receives a touch event.
writeValue(T obj) → void
Write a new value to the element.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(other) → bool
The equality operator. [...]
inherited