isEnabledWhere method

WidgetMatcher<ListTile> isEnabledWhere(
  1. MatchProp<bool> match
)

Expects that enabled of ListTile matches the condition in match.

Example usage:

spot<ListTile>().existsOnce().isEnabledWhere((it) => it.isTrue());

Implementation

WidgetMatcher<ListTile> isEnabledWhere(MatchProp<bool> match) {
  return hasDiagnosticProp<bool>('enabled', match);
}