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