whereSemanticLabel method

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

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

Example usage:

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

Implementation

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