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