errorStyle property
final
The style to use for the InputDecoration.errorText.
If null, defaults of a value derived from the base TextStyle for the input field and the current Theme.
By default the color of style will be used by the label of InputDecoration if InputDecoration.errorText is not null. See InputDecoration.labelStyle or InputDecoration.floatingLabelStyle for an example of how to replicate this behavior when specifying those styles.
Implementation
final TextStyle? errorStyle;