isEnabledWhere method
Expects that enabled of OutlinedButton matches the condition in match
.
Example usage:
spot<OutlinedButton>().existsOnce().isEnabledWhere((it) => it.isTrue());
Implementation
WidgetMatcher<OutlinedButton> isEnabledWhere(MatchProp<bool> match) {
return hasDiagnosticProp<bool>('enabled', match);
}