form property
FormState?
get
form
Returns the form state from the closest widgets.Form ancestor.
context.form
is equivalent to widgets.Form.of.
Implementation
widgets.FormState? get form {
return widgets.Form.of(this);
}