autovalidateMode property

AutovalidateMode get autovalidateMode

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

Defaults to AutovalidateMode.disabled.

If AutovalidateMode.onUserInteraction, this form field 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

AutovalidateMode get autovalidateMode;