ValueConverter class abstract
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
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited