cursorErrorColor property
final
The color of the cursor when the InputDecorator is showing an error.
If this is null it will default to TextStyle.color of InputDecoration.errorStyle. If that is null, it will use ColorScheme.error of ThemeData.colorScheme.
Implementation
final Color? cursorErrorColor;