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