obscureText property

bool obscureText

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

Implementation

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

Implementation

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