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