Summary
This marks the end of our cart application building using all the techniques discussed in the book. In this chapter, specifically, we used observables in GetX to make our class objects automatically update, we used GetIt to update our app's state without using BuildContext
, and we took a thorough look into how to bind the UI with reference variables and a view logic class using Binder to update the app's state.
You should now be able to create Flutter apps using the different state management techniques discussed in this chapter and the previous ones. You should be able to differentiate between ways to manage the application's state using different techniques. You might not be able to remember everything about the techniques, but that's nothing to worry about; you don't need to memorize everything. Practice will clear the fog!
In the next and final chapter of the book, we will discuss some potential ways to decide which technique you should use...