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