hasAttributedHint method

WidgetMatcher<Semantics> hasAttributedHint(
  1. String? value
)

Expects that attributedHint of Semantics equals (==) value.

Example usage:

spot<Semantics>().existsOnce().hasAttributedHint('foo');

Implementation

WidgetMatcher<Semantics> hasAttributedHint(String? value) {
  return hasDiagnosticProp<String>('attributedHint',
      (it) => value == null ? it.isNull() : it.equals(value));
}