autovalidateMode property Null safety

AutovalidateMode autovalidateMode

Used to enable/disable this form field auto validation and update its 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.


final AutovalidateMode autovalidateMode;