whereSelected method

  1. @useResult
WidgetSelector<Semantics> whereSelected(
  1. MatchProp<bool> match
)

Creates a WidgetSelector that finds all Semantics where selected matches the condition.

Example usage:

spot<Semantics>().whereSelected((it) => it.isTrue()).existsOnce();

Implementation

@useResult
WidgetSelector<Semantics> whereSelected(MatchProp<bool> match) {
  return withDiagnosticProp<bool>('selected', match);
}