Vanilla State Management
Beautiful, responsive applications capture the user’s attention and leave a positive impression about your product. However, there is much more going on behind what the user sees as they navigate and interact with your app. Button taps, network requests, saving data, showing progress, conveying errors, and delivering notifications are just a tiny fraction of what’s happening in a typical app. Handling all of this flawlessly for the user greatly depends on the state management techniques that are used under the hood.
In this chapter, we will learn what state management is and what challenges it presents, what tools the Flutter framework offers developers to tackle these tasks, and how to use them efficiently without introducing unwanted bugs.
We will be working on a sample eCommerce application called Candy Store to gather knowledge.
By the end of this chapter, you will feel confident in your ability to tackle state management challenges...