obscureText property

bool obscureText
final

Whether to obscure the text being edited.

When true, the text is hidden using the obscuringCharacter. This is typically used for password fields or other sensitive input.

Implementation

final bool obscureText;