ValueAccessor<T> class

Implemented types
Implementers

Constructors

ValueAccessor()

Properties

onModelChange ChangeFunction<T>
read / write
onModelTouched TouchFunction
read / write
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> fn) → void
Set the function to be called when the control receives a change event.
override
registerOnTouched(TouchFunction fn) → void
Set the function to be called when the control receives a touch event.
override
touchHandler() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
onDisabledChanged(bool isDisabled) → void
This function is called when the control status changes to or from "DISABLED".
inherited
toString() → String
Returns a string representation of this object.
inherited
writeValue(T obj) → void
Write a new value to the element.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited