hasContainerWhere method

WidgetMatcher<Semantics> hasContainerWhere(
  1. MatchProp<bool> match
)

Expects that container of Semantics matches the condition in match.

Example usage:

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

Implementation

WidgetMatcher<Semantics> hasContainerWhere(MatchProp<bool> match) {
  return hasDiagnosticProp<bool>('container', match);
}