Home > other >  Should I use bloc for the firebase authentication in flutter?
Should I use bloc for the firebase authentication in flutter?

Time:11-22

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.

CodePudding user response:

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.

  • Related