Exercise: Implementing the Shopping Cart
Test your Flutter BLoC skills by implementing the shopping cart feature in the e-commerce application.
We'll cover the following...
We'll cover the following...
In this exercise, implement the ShoppingCartCubit and use it in the code. The states of the ShoppingCartCubit are already created for you. Here are the states available to be used:
- ShoppingCartInitial: This represents the initial state of- ShoppingCartCubit, which is the state that the- ShoppingCartCubitwill be in when it’s first created.
- ...