isEnabled method
Expects that enabled of TextField equals (==) value
.
Example usage:
spot<TextField>().existsOnce().isEnabled(true);
Implementation
WidgetMatcher<TextField> isEnabled(bool? value) {
return hasDiagnosticProp<bool>(
'enabled', (it) => value == null ? it.isNull() : it.equals(value));
}