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