withAttributedLabel method
Creates a WidgetSelector that finds all Semantics where attributedLabel equals (==) value
.
Example usage:
spot<Semantics>().withAttributedLabel('foo').existsOnce();
Implementation
@useResult
WidgetSelector<Semantics> withAttributedLabel(String? value) {
return withDiagnosticProp<String>('attributedLabel',
(it) => value == null ? it.isNull() : it.equals(value));
}