autovalidateMode property

AutovalidateMode? autovalidateMode
final

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.

Implementation

final AutovalidateMode? autovalidateMode;