What is event and state in BLoC?

Events are the input to a Bloc. They are commonly UI events such as button presses. Events are dispatched and then converted to States. States are the output of a Bloc . Presentation components can listen to the stream of states and redraw portions of themselves based on the given state.16 Tem 2021

Sizin İçin Seçtik  What is SW and MW?

Leave a Reply

Your email address will not be published. Required fields are marked *