withCursorColor method
Creates a WidgetSelector that finds all SelectableText where cursorColor equals (==) value
.
Example usage:
spot<SelectableText>().withCursorColor(Colors.red).existsOnce();
Implementation
@useResult
WidgetSelector<SelectableText> withCursorColor(Color? value) {
return withDiagnosticProp<Color>(
'cursorColor', (it) => value == null ? it.isNull() : it.equals(value));
}