Flutter – Unable to set border colour of a Text field widget to red once an error condition is met
I am trying to change the colour of a Text field widget to red if the email address does not exist or is incorrect. This change should happen as soon as the login button is clicked: Here is the code…