autovalidateMode property Null safety

AutovalidateMode autovalidateMode

Used to enable/disable form fields auto validation and update their error text.

If AutovalidateMode.onUserInteraction, this FormField will only auto-validate after its content changes. If AutovalidateMode.always, it will auto-validate even without user interaction. If AutovalidateMode.disabled, auto-validation will be disabled.

Defaults to AutovalidateMode.disabled, cannot be null.


final AutovalidateMode autovalidateMode;