Skip to content

rodydavis/clean_architecture_todo_app

 
 

Repository files navigation

Clean Architecture Todo App Training With Flutter

github pages Test and Lint

Flutter + Clean Architecture + riverpod + drift!

Online Demo!

Motivation

Based on a fork and updated for the latest version of Material 3, Riverpod and Drift.

Architecture Diagram

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
Loading

Features

  • Riverpod
  • Riverpod Generator (StreamNotifier/FutureNotifier)
  • Drift (SQLite)
  • Material 3
  • Adaptive Layouts
  • All 6 platforms supported
  • Full text search
  • SQL support
  • Dart Code Generation

Screenshots

Releases

No releases published

Packages

No packages published

Languages

  • Dart 50.7%
  • C++ 23.1%
  • CMake 18.7%
  • Ruby 2.7%
  • HTML 1.9%
  • C 1.4%
  • Other 1.5%