isShowPassword property

bool isShowPassword
getter/setter pair

Indicates whether the password text is currently visible to the user.

When true, the password characters are displayed in plain text. When false, the password characters are obscured (typically shown as dots).

This value should be used with the obscureText property of text input widgets, typically as obscureText: !isShowPassword.

Implementation

bool isShowPassword = false;