Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Should I use bloc for the firebase authentication in flutter?

I am working on a flutter mobile app and I am wondering if I will need the bloc state management for the authentication.
So this is the scenario of the app.
The initial screen is login and registration form
when the user login the home page will appear
when the user logout, the login and registration form will appear and so on.

I need to know if the bloc is needed.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You don’t need to use BLoC.

BLoC is one of many possibilities for state management in Flutter. The decision, which state management to choose, is independent of you use Firebase Authentication or not.

There is also

and many others.

Firebase authentication works with all of them. Also, you don’t need any additional library to use Firebase Authentication.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading