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