hasDecorationWhere method
Expects that decoration of TextField matches the condition in match
.
Example usage:
spot<TextField>().existsOnce().hasDecorationWhere((it) => it.equals(InputDecoration()));
Implementation
WidgetMatcher<TextField> hasDecorationWhere(
MatchProp<InputDecoration> match) {
return hasDiagnosticProp<InputDecoration>('decoration', match);
}