FormStateAdapter class abstract

Defines interface between CompanionPresenterMixin and actual state of Form.

Constructors

FormStateAdapter()

Properties

autovalidateMode AutovalidateMode
Current AutovalidateMode of the Form.
no setter
hashCode int
The hash code for this object.
no setterinherited
locale Locale
Current Locale of the Form.
no setter
mounted bool
Whether the underlying state of the Form is mounted to the element tree.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save() → void
Do save of all form's fields. save() effectively just call onSaved callbacks set to the fields, and some derived implementation do some extra work to prepare values for fields' consumer.
toString() String
A string representation of this object.
inherited
validate() bool
Do validation of all form's fields and then returns the value whether all fields are valid or not.

Operators

operator ==(Object other) bool
The equality operator.
inherited