PasswordEntry.setShowPeekIcon

void setShowPeekIcon(bool showPeekIcon)

Sets whether the entry should have a clickable icon to reveal the contents.

Setting this to false also hides the text again.

Parameters

showPeekIconwhether to show the peek icon