isEnabled method

WidgetMatcher<ListTile> isEnabled(
  1. bool? value
)

Expects that enabled of ListTile equals (==) value.

Example usage:

spot<ListTile>().existsOnce().isEnabled(true);

Implementation

WidgetMatcher<ListTile> isEnabled(bool? value) {
  return hasDiagnosticProp<bool>(
      'enabled', (it) => value == null ? it.isNull() : it.equals(value));
}