MaterialTextFormFieldAdapter class
A ValuedWidgetAdapter for a TextFormField
- Inheritance
-
- Object
- ValuedWidgetAdapter<
TextFormField> - AbstractValuedWidgetAdapter<
TextFormField> - AbstractTextWidgetAdapter<
TextFormField> - MaterialTextFormFieldAdapter
- Annotations
-
- @WidgetAdapter(platforms: [TargetPlatform.android])
- @Injectable.new()
Constructors
Properties
- annotation ↔ WidgetAdapter
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
finalinherited
-
platforms
↔ List<
TargetPlatform> -
getter/setter pairinherited
- 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
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
-
getId(
TextFormField widget) → String -
inherited
-
getName(
) → String -
return the element 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 -
supportedPlatforms(
) → List< TargetPlatform> -
inherited
-
supports(
TargetPlatform platform) → bool -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited