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