A simple todo app which uses inherited widget as a state management solution. I went through the Inherited Widget codelab for flutter and wanted to create an app to understand the material on my own.
I tied to follow Domain Driven Design (DDD). The app is divided into the following layers:
- Presentation: Contains all the UI code.
- Application: Contains all the driver code that calls the services/business logic. Inherited Widget stays in this layer.
- Domain: Contains all the service blueprints (abstract classes), models, entities and policies.
- Data: Contains the implementations for abstract classes in domain. Interacts with the outside world so all the API implementations are usually kept here.