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