hasShowCursorWhere method

WidgetMatcher<SelectableText> hasShowCursorWhere(
  1. MatchProp<bool> match
)

Expects that showCursor of SelectableText matches the condition in match.

Example usage:

spot<SelectableText>().existsOnce().hasShowCursorWhere((it) => it.isTrue());

Implementation

WidgetMatcher<SelectableText> hasShowCursorWhere(MatchProp<bool> match) {
  return hasDiagnosticProp<bool>('showCursor', match);
}