obscureText property

bool get obscureText

Whether to hide the text being edited (e.g., for passwords).

Implementation

bool get obscureText => _obscureText;
set obscureText (bool value)

Implementation

set obscureText(bool value) {
  if (_obscureText == value) {
    return;
  }
  _obscureText = value;
  _cachedAttributedValue = null;
  markNeedsSemanticsUpdate();
}