hasTextWhere method
Expects that text of SelectableText matches the condition in match
.
Example usage:
spot<SelectableText>().existsOnce().hasTextWhere((it) => it.equals('foo'));
Implementation
WidgetMatcher<SelectableText> hasTextWhere(MatchProp<String> match) {
return hasDiagnosticProp<String>('data', match);
}