hasCursorWidth method
Expects that cursorWidth of TextField equals (==) value
.
Example usage:
spot<TextField>().existsOnce().hasCursorWidth(10.5);
Implementation
WidgetMatcher<TextField> hasCursorWidth(double? value) {
return hasDiagnosticProp<double>(
'cursorWidth', (it) => value == null ? it.isNull() : it.equals(value));
}