toggleShowPassword method
void
toggleShowPassword()
Toggles the visibility state of the password field.
This method switches the isShowPassword value between true and false,
allowing users to show or hide password characters in the input field.
Typically called from an icon button's onPressed callback in the text
field's suffix icon.
Implementation
void toggleShowPassword() {
isShowPassword = !isShowPassword;
}