hasSemanticsLabelWhere method
Expects that semanticsLabel of SelectableText matches the condition in match
.
Example usage:
spot<SelectableText>().existsOnce().hasSemanticsLabelWhere((it) => it.equals('foo'));
Implementation
WidgetMatcher<SelectableText> hasSemanticsLabelWhere(
MatchProp<String> match) {
return hasDiagnosticProp<String>('semanticsLabel', match);
}