Exercise Your BLoC Implementation Skills

Test your BLoC pattern implementation skills in this exercise

We'll cover the following

Problem statement

It’s your turn to integrate the BLoC pattern. Use the CounterBloc in the widget tree, and implement the logic of the increment and decrement buttons. The BLoC widgets you need are already located in the bloc folder. Let’s get started!

If you need help, press the “Solution” button to see how it was implemented. Try to give it your best shot before looking at the solution!

Get hands-on with 1200+ tech skills courses.