Cubit Advantages
Simplicity
One of the biggest advantages of using Cubit is simplicity. When creating a Cubit, we only have to define the state as well as the functions which we want to expose to change the state. In comparison, when creating a Bloc, we have to define the states, events, and the mapEventToState implementation. This makes Cubit easier to understand and there is less code involved.