obscureText property

bool obscureText
final

Whether to obscure the input (e.g. for password fields).

When true, a visibility-toggle icon appears at the trailing edge. Defaults to false.

Implementation

final bool obscureText;