hasCursorWidthWhere method

WidgetMatcher<TextField> hasCursorWidthWhere(
  1. MatchProp<double> match
)

Expects that cursorWidth of TextField matches the condition in match.

Example usage:

spot<TextField>().existsOnce().hasCursorWidthWhere((it) => it.isGreaterThan(10.5));

Implementation

WidgetMatcher<TextField> hasCursorWidthWhere(MatchProp<double> match) {
  return hasDiagnosticProp<double>('cursorWidth', match);
}