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