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