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