form property
FormState?
form
Returns The state from the closest instance of this class that encloses the given context.
It is used for validating forms
Implementation
FormState? get form => Form.of(this);
Returns The state from the closest instance of this class that encloses the given context.
It is used for validating forms
FormState? get form => Form.of(this);