autofocusNode property
FocusNode?
autofocusNode
Returns the focusNode that should be autofocused based on the current form state. It's generally the first required form field that doesn't have a value
Implementation
FocusNode? get autofocusNode;