AbstractValuedWidgetAdapter<T> class
abstract
base class for widget adapters
T the widget type
- Inheritance
-
- Object
- ValuedWidgetAdapter<
T> - AbstractValuedWidgetAdapter
- Implementers
Constructors
- AbstractValuedWidgetAdapter(String name, String theme)
Properties
Methods
-
build(
{required BuildContext context, required FormMapper mapper, required TypeProperty property, required Keywords args}) → Widget -
build and bind the corresponding widget
contexta FormMappermapperthe FormMapperpropertya TypePropertyargsand parameters that will be handled by the adapterinherited -
dispose(
WidgetProperty property) → void -
dispose any resources
override
-
getName(
) → String -
return the element name
override
-
getTheme(
) → String -
return the platform name
override
-
getType(
) → Type -
return the element type
override
-
getValue(
T widget) → dynamic -
return the current value given a widget
widgetthe widgetinherited -
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
widgetthe widgetvaluethe valuecontextthe ValuedWidgetContextinherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited