I am using flet (python) and I want to make a registration window where all password characters are hidden in "", and next to it there should be a button, when holding which "" no longer hides the characters that the user entered, and if you stop holding, then all characters will be hidden again in "*" but I don't understand how to make a button that responds to hold enter image description here I looked at different ElevatedButton properties and found only the "selected" property, but it does not fit my task Continue reading...