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