hasHintWhere method

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

Expects that hint of Semantics matches the condition in match.

Example usage:

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

Implementation

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