hasSemanticsLabel method
Expects that semanticsLabel of SelectableText equals (==) value
.
Example usage:
spot<SelectableText>().existsOnce().hasSemanticsLabel('foo');
Implementation
WidgetMatcher<SelectableText> hasSemanticsLabel(String? value) {
return hasDiagnosticProp<String>('semanticsLabel',
(it) => value == null ? it.isNull() : it.equals(value));
}