isObscured property

bool isObscured

Whether 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 value.

Implementation

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

Implementation

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