error property

String? error
getter/setter pair

Current validation error (InputDecoration.errorText), populated by InputEnricher; null when the field is valid or shows no error.

Implementation

String? error;