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