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