Is BLoC a MVVM?

BLoC and MVVM seemed to be different when BLoC was introduced, but that difference faded away as BLoC implementations changed over time. Right now the only real difference is that BLoC doesn’t specify a separate presentation logic and business logic , or at least it doesn’t do it in an obvious manner.6 Eyl 2021

Read more

Is BLoC a MVVM?

BLoC and MVVM seemed to be different when BLoC was introduced, but that difference faded away as BLoC implementations changed over time. Right now the only real difference is that BLoC doesn’t specify a separate presentation logic and business logic , or at least it doesn’t do it in an obvious manner.6 Eyl 2021

Read more

Where is Cubit used?

Cubit is a subset of the BLoC Pattern package that does not rely on events and instead uses methods to emit new states. So, we can use Cubit for simple states , and as needed we can use the Bloc. what is the meaning of a complex state? in which situation we can’t use Cubit, can You explain?

Read more

What is a cubit in BLoC?

A Cubit is similar to Bloc but has no notion of events and relies on methods to emit new states . Every Cubit requires an initial state which will be the state of the Cubit before emit has been called. The current state of a Cubit can be accessed via the state getter.

Read more