Flutter + Clean Architecture + riverpod + drift!
Based on a fork and updated for the latest version of Material 3, Riverpod and Drift.
flowchart TD
VM[View Model]-->U(Use Case)
MP[Mapper]-->MD[Model]
subgraph Presentation
V[View]-->VM(View Model)
W[Widgets]-->V[View]
end
subgraph Domain
UI(Use Case Impl)-->U[Use Case]
U[Use Case]-->MD[Model]-->R[Repository]
UI(Use Case Impl)-->R[Repository]
end
subgraph Data
RI[Repository Impl]-->MP[Mapper]
RI[Repository Impl]-->R[Repository]
E(Entity)-->D[Database]
DI[Database Impl]-->D[Database]
RI[Repository Impl]-->E(Entity)
end
- Riverpod
- Riverpod Generator (StreamNotifier/FutureNotifier)
- Drift (SQLite)
- Material 3
- Adaptive Layouts
- All 6 platforms supported
- Full text search
- SQL support
- Dart Code Generation