autovalidateMode property

AutovalidateMode? autovalidateMode
final

Used to enable/disable this form field auto validation and update its error text.

Defaults to AutovalidateMode.disabled.

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.

Implementation

final AutovalidateMode? autovalidateMode;