hasCursorColor method
Expects that cursorColor of SelectableText equals (==) value
.
Example usage:
spot<SelectableText>().existsOnce().hasCursorColor(Colors.red);
Implementation
WidgetMatcher<SelectableText> hasCursorColor(Color? value) {
return hasDiagnosticProp<Color>(
'cursorColor', (it) => value == null ? it.isNull() : it.equals(value));
}