errorText property

  1. @override
String? get errorText
override

Returns the current error text, which may be a validation error or a custom error text.

Implementation

@override
/// Returns the current error text,
/// which may be a validation error or a custom error text.
String? get errorText => super.errorText ?? _customErrorText;