Flutter ToDo application using Clean Code architecture

Overview

DoneIt πŸ“

DoneIt is a sample note app πŸ“ Flutter application πŸ“± built to demonstrate use of Clean Architecture tools. Dedicated to all Flutter Developers with ❀️ .

About

It simply loads Notes data from in memory database. Notes will be always loaded from in memor database.

  • This makes it offline capable πŸ˜ƒ .
  • Clean and Simple Material UI.
  • It supports dark theme too πŸŒ— .

Directory Structure

.
β”œβ”€β”€ core                       # For all common and core files.
β”‚   β”œβ”€β”€ error                  # contains all Exceptions and Failures classes
β”‚   β”œβ”€β”€ presentation           # Common presentation files
|   β”‚   └── blocs              # Common blocs
|   β”‚   └── pages              # Core pages
|   β”‚   └── widgets            # Common widgets
β”‚   └── route                  # Routes for navigation
β”‚   └── theme                  # Theme data
β”‚   └── usecases               # Common usecases
|
β”œβ”€β”€ data                       # Data Files of Feature 1
β”‚   β”œβ”€β”€ datasources            # DataSources Abstract Files and Implementations
β”‚   β”‚   └── feature            # Feature 1 (for exp : Todo Feature)
β”‚   β”‚       └── sub-feat.      # Sub feature
β”‚   β”œβ”€β”€ models                 # Models for data
β”‚   β”‚   └── feature            # Feature 1 (for exp : Todo Feature)
β”‚   β”‚       └── sub-feat.      # Sub feature
β”‚   └── repositories           # Repositories Implementation Classes
β”‚       └── feature            # Feature 1 (for exp : Todo Feature)
β”‚           └── sub-feat.      # Sub feature
β”œβ”€β”€ domain                     # Domain
β”‚   β”œβ”€β”€ entities               # Entities For Feature 1
β”‚   β”‚   └── feature            # Feature 1 (for exp : Todo Feature)
β”‚   β”‚       └── sub-feat.      # Sub feature
β”‚   β”œβ”€β”€ usecases               # Usecases of Feature 1
β”‚   β”‚   └── feature            # Feature 1 (for exp : Todo Feature)
β”‚   β”‚       └── sub-feat.      # Sub feature
β”‚   └── repositories           # Repositories Abstract Classes
β”‚       └── feature            # Feature 1 (for exp : Todo Feature)
β”‚           └── sub-feat.      # Sub feature
└── presentation               # Presentation files
    β”œβ”€β”€ blocs                  # Blocs
    β”‚   └── feature            # Feature 1 (for exp : Todo Feature)
    β”‚       └── sub-feat.      # Sub feature
    β”œβ”€β”€ pages                  # Pages
    β”‚   └── feature            # Feature 1 (for exp : Todo Feature)
    β”‚       └── sub-feat.      # Sub feature
    └── widgets                # Widgets
        └── feature            # Feature 1 (for exp : Todo Feature)
            └── sub-feat.      # Sub feature

Architecture

This app uses [Clean Architecture by Robert C Martin]

Image Source : ResoCoder

Contribute

If you want to contribute to this library, you're always welcome! See Contributing Guidelines.

Branches

.
β”œβ”€β”€ master                       # Contains the latest release
       β”œβ”€β”€ dev                   # Contains the latest development
            β”œβ”€β”€ feature1         # feature 1 created from dev
            β”œβ”€β”€ feature2         # feature 2 created from dev
            β”œβ”€β”€ feature3         # feature 3 created from dev
            β”œβ”€β”€ bugFix1          # bugfix 1 created from dev
            β”œβ”€β”€ bugFix2          # bugfix 1 created from dev
            β”œβ”€β”€ docChange1       # docChange 1 created from dev
            β”œβ”€β”€ docChange1       # docChange 2 created from dev

Note : Create pull request for feature,bugfix,docChange to only dev branch.

Acknowledgement

This repo is the update to the original repo by Shubham Chhimpa.GitHub

This repo is updated with the latest flutter packages as of Oct. 2021.

You might also like...

Pokedex app built with Flutter (with lots of animations) using Clean Architecture

Pokedex app built with Flutter (with lots of animations) using Clean Architecture

Flutter Pokedex Pokedex app built with Flutter App preview Video demo Installation Add Flutter to your machine Open this project folder with Terminal/

Dec 28, 2022

Crypto Profit Calculator using CLEAN Architecture and BLoC or Cubit, for learning purposes

Crypto Profit Calculator using CLEAN Architecture and BLoC or Cubit, for learning purposes

Hysto | Crypto Profit Calculator Calculate and save your profits with Hysto πŸ’Ž πŸ’Ž πŸ’Ž DIAMOND HANDS BABY πŸ’Ž πŸ’Ž πŸ’Ž Requirements Flutter v2.10.2 Find ava

Apr 29, 2022

App dos Carros com Flutter e Clean Architecture

App dos Carros com Flutter e Clean Architecture

Carros Flutter - App Exemplo com Clean Architecture Possui apenas 3 telas para facilitar o entendimento. Arquitetura Baseado na proposta do Reso Coder

Jun 8, 2022

Flutter travel app with clean architecture and firebase

atlas A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this is

Jan 25, 2022

A Flutter project built with Clean Architecture

smash_fighters smash_fighters.mp4 A Flutter project made using: Clean Dart that follows all the Clean Architecture guidelines: https://github.com/Flut

Dec 30, 2022

The Clean architecture and manage the Flutter project to make scalable with a modularization approach

The Clean architecture and manage the Flutter project to make scalable with a modularization approach

Clean architecture sample project Flutter template project to explore the Clean architecture and manage the Flutter project to make scalable with a mo

Oct 18, 2022

A study about clean architecture and TDD(Test Driven Development) in Flutter.

coin_checker A study about clean architecture and TDD(Test Driven Development) in Flutter. Getting Started This project is a starting point for a Flut

Jan 25, 2022

A sample app that implement Uncle Bob's Clean Architecture in Flutter

A sample app that implement Uncle Bob's Clean Architecture in Flutter

Clean Architecture for Flutter This a sample app that implement Uncle Bob's Clea

Nov 8, 2022

Cross-platform GitHub client in Flutter and BLoC clean architecture

FlutterHub Cross-platform GitHub client in Flutter and BLoC clean architecture. SwiftHub - Swift version is available Try Web version Get Started To g

Nov 12, 2022
Owner
Harshal
Harshal
Todo-App - Flutter Todo App using Bloc, Sqflite, and shared preferences

Todo App A new Flutter application. Getting Started Flutter application using Bl

Haitham Ahmed 11 Nov 8, 2022
Neo ToDo - Beautiful neumorphism style todo list

Neo ToDo - Beautiful neumorphism style todo list β€’ Neomorphism style. β€’ Categories of tasks. β€’ Beautiful animations. β€’ Dark theme. β€’ Font Awesome icon

Alexey Z 87 Apr 30, 2022
Number trivia Android and ios application using flutter clean architecture

demo_project A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Koushik J A 2 Jun 9, 2022
DoneIt is a sample note app πŸ“ Flutter application πŸ“± built to demonstrate use of Clean Architecture tools. Dedicated to all Flutter Developers with ❀️.

DoneIt ?? DoneIt is a sample note app ?? Flutter application ?? built to demonstrate use of Clean Architecture tools. Dedicated to all Flutter Develop

Shubham Chhimpa 175 Dec 24, 2022
A Flutter application that recommends activities to do in free time. Made with Clean + Layered Architecture

im_bored_app Bored? is a Flutter application that suggests different activities to do in your free time. Available platforms: iOS, Android, iPadOS App

Batuhan Karababa 16 Oct 15, 2022
Coin Dino is a Flutter cryptocurrency application that is made with Clean + Layered Architecture.

Big cryptocurrency application that shows you details about cryptocurrencies and many other things. Made with Clean Code + Layered Architecture. State management: MobX + GetIt

Batuhan Karababa 37 Oct 4, 2022
Real-world movie database mobile application with the Flutter SDK and DDD clean architecture.

Moving Pictures Moving Pictures is a mobile application built with the Flutter SDK for Android and iOS. It’s an application that gets the information

Nifemi 57 Jan 7, 2023
Pokedex app built with Flutter (with lots of animations) using Clean Architecture

Flutter Pokedex Pokedex app built with Flutter App preview Video demo Installation Add Flutter to your machine Open this project folder with Terminal/

Pham Sy Hung 1.8k Jan 8, 2023
Flutter App to save notes secure, using cryptography, clean architecture and some design patterns.

notes A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this is

Gabriel ScotΓ‘ 6 Mar 28, 2022
Example repository of handling permissions in Flutter using BLoC and Clean Architecture.

flutter_permission_handling A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get

Jop Middelkamp 0 Dec 28, 2021