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