hasAttributedValueWhere method

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

Expects that attributedValue of Semantics matches the condition in match.

Example usage:

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

Implementation

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