whereContainer method

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

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

Example usage:

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

Implementation

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