hasObscuringCharacterWhere method

WidgetMatcher<TextField> hasObscuringCharacterWhere(
  1. MatchProp<String> match
)

Expects that obscuringCharacter of TextField matches the condition in match.

Example usage:

spot<TextField>().existsOnce().hasObscuringCharacterWhere((it) => it.equals('foo'));

Implementation

WidgetMatcher<TextField> hasObscuringCharacterWhere(MatchProp<String> match) {
  return hasDiagnosticProp<String>('obscuringCharacter', match);
}