isObscured property Null safety

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.

Implementation

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

Implementation

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