autovalidateMode property Null safety

AutovalidateMode autovalidateMode
final

Used to enable/disable form fields auto validation and update their error text.

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 and if AutovalidateMode.disabled the auto validation will be disabled.

Defaults to AutovalidateMode.disabled if autovalidate is false which means no auto validation will occur. If autovalidate is true then this is set to AutovalidateMode.always for backward compatibility.

Implementation

final AutovalidateMode autovalidateMode;