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