whereShowCursor method

  1. @useResult
WidgetSelector<SelectableText> whereShowCursor(
  1. MatchProp<bool> match
)

Creates a WidgetSelector that finds all SelectableText where showCursor matches the condition.

Example usage:

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

Implementation

@useResult
WidgetSelector<SelectableText> whereShowCursor(MatchProp<bool> match) {
  return withDiagnosticProp<bool>('showCursor', match);
}