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