hasIconColorWhere method
Expects that iconColor of ListTile matches the condition in match
.
Example usage:
spot<ListTile>().existsOnce().hasIconColorWhere((it) => it.equals(Colors.red));
Implementation
WidgetMatcher<ListTile> hasIconColorWhere(MatchProp<Color> match) {
return hasDiagnosticProp<Color>('iconColor', match);
}