ValuedWidgetAdapter<T> class
abstract
base class for widget adapters
T
the widget type
- Implementers
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
-
build(
{required BuildContext context, required FormMapper mapper, required TypeProperty property, required Keywords args}) → Widget -
build and bind the corresponding widget
context
a FormMappermapper
the FormMapperproperty
a TypePropertyargs
and parameters that will be handled by the adapter -
dispose(
WidgetProperty property) → void - dispose any resources
-
getName(
) → String - return the element name
-
getTheme(
) → String - return the platform name
-
getType(
) → Type - return the element type
-
getValue(
T widget) → dynamic -
return the current value given a widget
widget
the widget -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setValue(
T widget, dynamic value, ValuedWidgetContext context) → void -
set a current value
widget
the widgetvalue
the valuecontext
the ValuedWidgetContext -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited