What is BlocSupervisor?

BlocSupervisor oversees Bloc s and delegates to BlocDelegate . BlocDelegate handles events from all Bloc s which are delegated by the BlocSupervisor . Can be used to intercept all Bloc events, transitions, and errors. It is a great way to handle logging/analytics as well as error handling universally.

Sizin İçin Seçtik  How do you use bloc with API in Flutter?

Leave a Reply

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