KenAragorn / create_flutter_provider_app

A boilerplate project created in Flutter using Provider and Firebase.
MIT License
400 stars 117 forks source link

App state for SignIn Screen #24

Open enfelipesiqueira-br opened 1 year ago

enfelipesiqueira-br commented 1 year ago

It seems that the 'userSnapshot.hasData' function is always returning true and the 'SignIn' screen is not called on line 80 of the 'my_app.dart' file. I'm new with flutter, I'm still understanding the use of the 'Provider' approach.

Airick73 commented 1 year ago

I am also trying to work around this issue. There seems to be a weird mix of authentication dependency. Why not use the status in the auth_provider?