whereChecked method

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

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

Example usage:

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

Implementation

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