error property
The color to use for input validation errors, e.g. for InputDecoration.errorText.
If no value is given defaults to FlexColor.materialLightError if brightness is light and to FlexColor.materialDarkError if brightness is dark.
Implementation
final Color? error;