error property

Color? error
final

The color to use for input validation errors, for example on InputDecoration.errorText.

If no value is given, and if there is no colorScheme defined, it defaults to FlexColor.materialLightError if brightness is light, and to FlexColor.materialDarkError if brightness is dark.

Implementation

final Color? error;