selectionHeightStyle property
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. Controls how tall the selection highlight boxes are computed to be.
See ui.BoxHeightStyle for details on available styles.
Implementation
// final Color? cursorErrorColor;
/// Controls how tall the selection highlight boxes are computed to be.
///
/// See [ui.BoxHeightStyle] for details on available styles.
final ui.BoxHeightStyle selectionHeightStyle;