What are events in BLoC Flutter?

BLoC uses the concept of Streams, or Reactive programming. This means that when a stream of events is created, subscribers can listen in on the stream of events . The subscribers are notified of new data when it is emitted into the stream. Widgets in Flutter use this stream for communication and sending data.

Read more

What is a BLoC state?

What is BLoC? Business logic components (BLoC) allow you to separate the business logic from the UI . Writing code in BLoC makes it easier to write and reuse tests. In simple terms, BLoC accepts a stream of events, processes the data based on events, and produces the output as states.

Read more