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