ValueConverter class

Interface for valueConverters that change data from one format to another and back.

This is typically used by data binding to convert the value from a bindableBase into a format that is expected by a widget and back again.

Constructors

ValueConverter()

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

convert(Object source, { Object value, { Object parameter }) → Object
Converts data from a BindableBase property into a format usable by a widget.
convertBack(Object source, { Object value, { Object parameter }) → Object
Takes data from a widget and converts it into a format that is expected by a BindableBase property.
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 ==(dynamic other) → bool
The equality operator.
inherited