autovalidateMode property

  1. @override
AutovalidateMode autovalidateMode
final

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

@override
final AutovalidateMode autovalidateMode;