dimanche 12 juillet 2020

Why my if statements doesn't work in flutter?

I have this app that do login with mysql and flutter So I wanted to do autologin so I went to phpmyadmin and set a boolean called it token and In my app I get its value and said if the token = 1 so the user is already logged in so I will see his level wither he is a member or an admin and navigate him to his page but the problem lies here, I can't put if statements inside another statements or that is what I think so any help, Also new to flutter :)

Aucun commentaire:

Enregistrer un commentaire