hasAttributedLabelWhere method

WidgetMatcher<Semantics> hasAttributedLabelWhere(
  1. MatchProp<String> match
)

Expects that attributedLabel of Semantics matches the condition in match.

Example usage:

spot<Semantics>().existsOnce().hasAttributedLabelWhere((it) => it.equals('foo'));

Implementation

WidgetMatcher<Semantics> hasAttributedLabelWhere(MatchProp<String> match) {
  return hasDiagnosticProp<String>('attributedLabel', match);
}