hasCursorOpacityAnimates method

WidgetMatcher<TextField> hasCursorOpacityAnimates(
  1. bool? value
)

Expects that cursorOpacityAnimates of TextField equals (==) value.

Example usage:

spot<TextField>().existsOnce().hasCursorOpacityAnimates(true);

Implementation

WidgetMatcher<TextField> hasCursorOpacityAnimates(bool? value) {
  return hasDiagnosticProp<bool>('cursorOpacityAnimates',
      (it) => value == null ? it.isNull() : it.equals(value));
}