whereText method
Creates a WidgetSelector that finds all Text where text matches the condition.
Example usage:
spot<Text>().whereText((it) => it.equals('foo')).existsOnce();
Implementation
@useResult
WidgetSelector<Text> whereText(MatchProp<String> match) {
return withDiagnosticProp<String>('data', match);
}