Flutter Architecture inspired by Domain Driven Design, Onion and Clean Architecture

Overview

Inspiring Domain Driven Design Flutter Architecture

Please take a look at my slides to learn more Strategic Domain Driven Design For Improving Flutter Architecture

Please use this repo and slides as a guide but not hard rules. you may adjust and adopt based on the needs of your application.

Disclaimer: heavily inspired by Clean, Onion, Layer architecure

Two architecutre for two types of applications:







Simple architecture for smaller application




Enterprise Flutter architecture for large applications

You might also like...

clean architecture and clean code with flutter , with bloc and getx state managment .

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

Aug 22, 2022

Proyect with Clean Architecture / Hexagonal Architecture - Patron BLoC - The MovieDB API

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

Sep 22, 2022

The domain specific language in dart for flutter widgets.

The domain specific language in dart for flutter widgets.

Rettulf !esrever ni stegdiw etirW Getting started import 'package:rettulf/rettulf.dart'; void main() = const MyApp().runAsApp(); class MyApp extend

Dec 21, 2022

Lightweight internet connection test, lookup a domain.

palestine_connection Lightweight internet connection test, lookup Google domain. Part of PalestineDevelopers project Features Periodic internet connec

Jun 26, 2022

A Dart-native lightweight Apache Pulsar client primarily focused on the IoT telemetry domain

pulsar_iot_client A lightweight Apache Pulsar client primarily focused on the IoT telemetry domain. This project aims to improve the resulting perform

May 10, 2022

An opinionated, community-driven set of lint rules for Dart and Flutter projects. Like pedantic but stricter

An opinionated, community-driven set of lint rules for Dart and Flutter projects. Like pedantic but stricter

Lint for Dart/Flutter lint is a hand-picked, open-source, community-driven collection of lint rules for Dart and Flutter projects. The set of rules fo

Jan 3, 2023

🍝 restaurant menu app made with flutter inspired by this design https://goo.gl/jChLBV

🍝 restaurant menu app made with flutter inspired by this design https://goo.gl/jChLBV

Menu Flutter Todo Make background colors that changes with PageView Add custom tab indicators Change food prices Make cart animation Customize card sh

Jan 1, 2023

This is a UI inspired from a Figma design.

This is a UI inspired from a Figma design.

safariappui This is a UI inspired from a Figma design. It was created by Jerry from Twitter. Figma Design File Due to privacy issues, you can DM Jerry

Dec 26, 2021

Facebook-redesign - An app developed that show a Facebook inspired UI design

Facebook-redesign - An app developed that show a Facebook inspired UI design

Superbe Lecteur de Musique fait avec Flutter ! Captures d'Écran Construire depui

Jul 7, 2022
Comments
  • question rbac architecture

    question rbac architecture

    Hi @mhadaily ,

    Hope you are all well !

    I am just dropping this message as I would like to create a teampass (https://teampass.net/) clone with flutter.

    What would you advice me to use as an architecture for managing permission rights to items categories with view/edit/delete capability. I found flutter_rbac or dart-casbin

    Screenshot of teampass:

    pf_tp_5

    Thanks for any insights or inputs to help me to boostrap this project.

    Cheers, Luc

    opened by ghost 1
  • [ENHANCEMENT] Need an example update

    [ENHANCEMENT] Need an example update

    Hello Majid Hajian, I really like your concept. But there is a lot of example need to be completed. I really enjoy your explanation on the video, but I really having a hard time to reproduce. I am really interested to follow your Architecture and I really want to teach my colleges about this, so I hope this repository will be updated. Thank you before

    documentation enhancement 
    opened by dwikurniantom 2
  • [QUESTION] Best practices for shared models between domains?

    [QUESTION] Best practices for shared models between domains?

    Use case:

    A user model needs to be in several modules. In this case, some domains would share the User.

    Question:

    Which, in your opinion, is the best solution to solve use cases in which several domains share the same model. Respecting architecture and without breaking responsibilities?

    opened by fabricioloupias 0
  • [QUESTION] why i should call facade than the repository ?

    [QUESTION] why i should call facade than the repository ?

    Hello @mhadaily ,

    in this architectural inspiration, what is the use of the facade, Why in the bloc I should not call the repository directly instead of the facade?

    Thank you for sharing your experience, I really liked it. I am implementing in a project.

    question 
    opened by rafaelmpessoa 1
Owner
Majid Hajian
Google Developer Expert for Flutter and Dart. Passionate Software Engineer, Author, Public Speaker, and community leader.
Majid Hajian
A mobile application that allows you to search and fetch recipes using Flutter, TheMealDB and Domain Driven Design

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

Johnny Nguyen 0 Dec 4, 2021
Crypto Loss Gain Calculator App build with Flutter. It developed with DDD (Domain Driven Design) principles.

Crypto Loss Gain Calculator Crypto Loss Gain Calculator App build with Flutter. It developed with DDD (Domain Driven Design) principles. Domain-Driven

Selim Üstel 9 Dec 27, 2022
Flutter_ddd - Experimental Flutter project with Domain-Driven Design

flutter_ddd Notes app sample in Dart / Flutter with DDD. This is an outcome of my attempt to understand Domain-Driven Design and consider how I can in

Kabo 90 Dec 18, 2022
Domain-Driven Design + Firebase Flutter Course

Domain-Driven Design + Firebase Flutter Course The whole accompanying tutorial series is available at ?? this link ?? . Find more tutorials on resocod

Reso Coder 413 Dec 31, 2022
Multi Translator build with Flutter, It developed with DDD (Domain Driven Design) principles.

Multi Translator App An app utilizes to translate any text to multiple languages. Features Localization Multiple Translation Single Translation Deep L

Selim Üstel 7 Dec 27, 2022
COVID-19 application made with Flutter, following Test Driven Development (TDD) and Clean Architecture along with Internationalization with JSON.

Covid App COVID-19 application made with Flutter, following Test Driven Development (TDD) and Clean Architecture along with Internationalization with

Sandip Pramanik 4 Aug 4, 2022
This project follows the Reso Coder course for flutter test-driven-development with clean architecture and BloC state management for a random trivia simple app.

This project follows the Reso Coder course for flutter test-driven-development with clean architecture and BloC state management for a random trivia simple app.

Tomas B Sarmiento Abella 1 Jan 5, 2022
Ouday 25 Dec 15, 2022
Flutter-clean-architecture - A simple flutter project developed with TDD and using Clean Architecture principles.

Clean Architecture This is a study project to practice TDD and a good approach of Clean Architecture for flutter projects. It is based on Reso Coder s

Luiz Paulo Franz 8 Jul 21, 2022
A Flutter boilerplate made by GeniusCrew BV and inspired to the Clean Architecture structure.

GeniusArchitecture This is a boilerplate project created in flutter using Provider, Firebase, Dio, and some fundamentals of Robert C Martin's Clean Ar

GeniusCrew 10 Dec 16, 2022