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