Designing the structure or architecture of an app is often one of the most important problems that developers need to solve when creating or upgrading an app, especially when the complexity and size of the project grows.
Each language has a 'favorite' pattern, such as model–view–controller (MVC), or model–view–viewmodel (MVVM). Flutter is no exception, and the pattern that Google developers are suggesting at this time is the BLoC (business logic components) pattern. There are many advantages of using BLoCs, and one of them is that they don't require any plugin, as they're already integrated into Flutter.
In previous chapters, you've seen the different ways to persist data in an app, such as SQFlite and the Firebase Firestore database. For this project, we'll introduce another...