obscureText property

bool obscureText
final

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

When this is set to true, all the characters in the text field are replaced by obscuringCharacter.

Defaults to false. Cannot be null.

Implementation

final bool obscureText