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