hasCursorWidthWhere method

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

Expects that cursorWidth of SelectableText matches the condition in match.

Example usage:

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

Implementation

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