Flutter Password Field with Toggle Eye icon

preview_player
Показать описание
In this video, I will teach you how to create a password field in a Flutter with an eye icon which will toggle the password field into the text field.

⭐ ⭐ ⭐ ⭐ ⭐ Best Books for JavaScript: ⭐ ⭐ ⭐ ⭐ ⭐

⭐ ⭐ ⭐ ⭐ ⭐ ⭐ My Gear ⭐ ⭐ ⭐ ⭐ ⭐ ⭐

****************************************************
Connect With Me:

Рекомендации по теме
Комментарии
Автор

thanks you very much from Senegal Africa

replaytvsenegal
Автор

Hey @Awais! Thank you very much for the tutorial!! I was able to replicate your example, but I'm having a issue with the setState of the visibility icon. The state only changes when I close and open again my AlertDialog with the login form.

So, the first time I open it, it's state is true by default and the password is invisible, but if I click the visibility icon, it doesn't change. It will change if I close the AlertDialog and open again, then the state will change to false haha.

Do you have any clue on why it's behaving like that?

I'm pretty newbie in programming in general.

michereff