hasCursorHeightWhere method

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

Expects that cursorHeight of TextField matches the condition in match.

Example usage:

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

Implementation

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