hasHoverColor method
Expects that hoverColor of IconButton equals (==) value
.
Example usage:
spot<IconButton>().existsOnce().hasHoverColor(Colors.red);
Implementation
WidgetMatcher<IconButton> hasHoverColor(Color? value) {
return hasDiagnosticProp<Color>(
'hoverColor', (it) => value == null ? it.isNull() : it.equals(value));
}