Technical requirements
To get started with this chapter, you’ll need to check out the CH11
initial branch. It contains a simple Flutter app that’s been created by running a flutter create
command and adding some simple model, repository, service, and widget code to make things easier for us: https://github.com/PacktPublishing/Flutter-Design-Patterns-and-Best-Practices/tree/master/CH11/initial/candy_store.
You can find the final working code here: https://github.com/PacktPublishing/Flutter-Design-Patterns-and-Best-Practices/tree/master/CH11/final/candy_store.
You can just create a test folder at the same level as the lib
folder in the file hierarchy and start following the instructions provided.