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