isObscured property

bool isObscured

Whether the value should be obscured.

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

Implementation

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

Implementation

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