hasCursorHeightWhere method

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

Expects that cursorHeight of SelectableText matches the condition in match.

Example usage:

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

Implementation

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