state property

FormState? get state

The current FormState, or null if the form has not been mounted yet.

Implementation

FormState? get state => key.currentState;