validationMessage property
String
get
validationMessage
Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
Implementation
_i2.String get validationMessage => _i4.getProperty(
this,
'validationMessage',
);