Chapter 7: Manipulating a Shopping Cart Application through BLoC, Provider, and React-Based Approaches

In this chapter, we will be looking into how to create a shopping cart application using the following approaches that were studied in the previous chapters:

  • Business Logic Component (BLoC)
  • Cubit
  • Provider
  • Riverpod
  • Redux
  • MobX

We will be going through all the concepts and code snippets discussed in Chapter 3, Diving into Advanced State Management Approaches, and Chapter 4, Adopting State Management Approaches from React. This chapter is longer than all other chapters as it has most of the state management approaches discussed together.

We are going to create the same screens we created in the previous chapter. These are shown again in the ...

Get Managing State in Flutter Pragmatically now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.