Bloc: Example how to integrate Firebase with Cubit

Created on 15 Sep 2020  路  2Comments  路  Source: felangel/bloc

Hi There,

I found many example to integrate firebase with Bloc. But after cubit, is it possible to integrate firebase with cubit instead of bloc? Thanks fo your advice.

question

All 2 comments

Hi @reidlai 馃憢

It is possible, you would basically swap bloc events for cubit method calls.
You can read more about this in cubit vs bloc.

Hi @reidlai 馃憢
Thanks for opening an issue!

As @RollyPeres mentioned you can definitely swap out bloc with cubit by replacing events with methods 馃憤

Closing for now but feel free to comment with additional questions and I'm happy to continue the conversation 馃槃

Was this page helpful?
0 / 5 - 0 ratings