whereSemanticLabel method

  1. @useResult
WidgetSelector<Image> whereSemanticLabel(
  1. MatchProp<String> match
)

Creates a WidgetSelector that finds all Image where semanticLabel matches the condition.

Example usage:

spot<Image>().whereSemanticLabel((it) => it.equals('foo')).existsOnce();

Implementation

@useResult
WidgetSelector<Image> whereSemanticLabel(MatchProp<String> match) {
  return withDiagnosticProp<String>('semanticLabel', match);
}