I want to Check First Password & Confirm Password is the same or not if Not Showing the message is not the same. And if it's the same Call the API to Update this Password.
For this, I am applying some Conditions In "If Else" but it's not working Because of TextEditingController.
Here is my code If you can suggest to me some ideas?

