TextFormFieldAdapter class
A ValuedWidgetAdapter for a TextFormField
- Inheritance
-
- Object
- ValuedWidgetAdapter<
TextFormField> - AbstractValuedWidgetAdapter<
TextFormField> - AbstractTextWidgetAdapter<
TextFormField> - TextFormFieldAdapter
- Annotations
Constructors
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 adapteroverride -
customize(
TypeProperty typeProperty) → (DisplayValue, ParseValue, FormFieldValidator< String> , TextInputType, List<TextInputFormatter> ) -
inherited
-
dispose(
WidgetProperty property) → void -
dispose any resources
override
-
getName(
) → String -
return the element name
inherited
-
getTheme(
) → String -
return the platform name
inherited
-
getType(
) → Type -
return the element type
inherited
-
getValue(
TextFormField widget) → dynamic -
return the current value given a widget
widgetthe widgetoverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setValue(
TextFormField widget, dynamic value, ValuedWidgetContext context) → void -
set a current value
widgetthe widgetvaluethe valuecontextthe ValuedWidgetContextoverride -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited