withCursorOpacityAnimates method

  1. @useResult
WidgetSelector<TextField> withCursorOpacityAnimates(
  1. bool? value
)

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));
}