togglePwd method
void
togglePwd()
Toggling the password
Implementation
void togglePwd() {
obscureText = !obscureText;
setState(() {});
}
Toggling the password
void togglePwd() {
obscureText = !obscureText;
setState(() {});
}