isObscured property

bool isObscured

Whether this.value should be obscured.

This option is usually set in combination with isTextField to indicate that the text field contains a password (or other sensitive information). Doing so instructs screen readers to not read out this.value.


bool get isObscured => _hasFlag(SemanticsFlag.isObscured);
void isObscured=(bool value)


set isObscured(bool value) {
  _setFlag(SemanticsFlag.isObscured, value);