autovalidateMode property

AutovalidateMode autovalidateMode

Used to enable/disable this form field auto validation and update its 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.


final AutovalidateMode autovalidateMode;