obscureText property

bool obscureText
final

Whether the input text should be obscured, useful for passwords or sensitive commands.

Type: bool

Usage: Set to true to mask input characters (e.g., for secret commands). Defaults to false for visible text.

Implementation

final bool obscureText;