hasCursorColorWhere method
Expects that cursorColor of TextField matches the condition in match
.
Example usage:
spot<TextField>().existsOnce().hasCursorColorWhere((it) => it.equals(Colors.red));
Implementation
WidgetMatcher<TextField> hasCursorColorWhere(MatchProp<Color> match) {
return hasDiagnosticProp<Color>('cursorColor', match);
}