This repo is an example of clean architecture using the GetX state-management solution.

Last update: Jul 31, 2022

           

GetX Clean Architecture

A Flutter Clean Architecture Using GetX.

This repo is forked from: https://github.com/phamdinhduc795397/flutter-getx-clean-architecture

Work Flow

alt text

Project Structure

    lib
    ├── app
    │   ├── config
    │   │   └── (...)
    │   ├── core
    │   │   └── usecases
    │   │       ├── no_param_usecase.dart
    │   │       └── pram_usecase.dart
    │   ├── extensions
    │   │   └── color.dart
    │   ├── services
    │   │   └── local_storage.dart
    │   ├── types
    │   │   ├── category_type.dart
    │   │   └── tab_type.dart
    │   └── util
    │       ├── dependency.dart
    │       └── util.dart
    ├── data
    │   ├── models
    │   │   └── (...)
    │   ├── providers
    │   │   ├── database
    │   │   │   └── firebase_database_provider.dart
    │   │   └── network
    │   │       ├── apis
    │   │       │   ├── article_api.dart
    │   │       │   └── auth_api.dart
    │   │       └── (...)
    │   └── repositories
    │       ├── article_repository.dart
    │       └── auth_repository.dart
    ├── domain
    │   ├── entities
    │   │   └── (...)
    │   ├── repositories
    │   │   └── (..)
    │   └── usecases
    │       └── (...)
    ├── presentation
    │   ├── controllers
    │   │   ├── auth
    │   │   ├── headline
    │   │   └── news
    │   ├── pages
    │   │   ├── detail
    │   │   ├── headline
    │   │   ├── home
    │   │   ├── news
    │   │   └── profile
    │   │
    │   └── app.dart
    ├── generated_plugin_registrant.dart
    └── main.dart

Features

  • Integrating Unit Test.
  • Create an easy to use API provider with GetConnect.

GitHub

https://github.com/md-siam/getx_clean_architecture
You might also like...

Cubit is a lightweight state management solution

Cubit is a lightweight state management solution

Cubit is a lightweight state management solution. It is a subset of the bloc package that does not rely on events and instead uses methods to emit new states.

Aug 9, 2022

⚡FQuery is a powerful async state management solution for flutter. It caches, updates and fully manages asynchronous data in your flutter apps.

⚡ FQuery is a powerful async state management solution for flutter. It caches, updates and fully manages asynchronous data in your flutter apps. It ca

Aug 9, 2022

Flutter, Dart, TDD, Clean Architecture, SOLID e GetX

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

Feb 22, 2022

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

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

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

Aug 13, 2022

Flutter Task Manager Application Using GetX State Management

Flutter Task Manager Application Using GetX State Management

Flutter Task Manager Application Using GetX State Management flutter_getx_todo A new Flutter project. Getting Started This project is a starting point

Dec 9, 2021

A new video calling mobile application using Flutter, Agora SDK and GetX state management.

A new video calling mobile application using Flutter, Agora SDK and GetX state management.

LiveBox : A Video Calling App A new video calling mobile application using Flutter, Agora SDK and GetX state management. Features Login Registration F

Aug 6, 2022

⚖️ A Flutter Architecture for small/medium/large/big large scale using Provider as State Management with Get It!

⚖️ A Flutter Architecture for small/medium/large/big large scale using  Provider as State Management with Get It!

Flutter Provider Architecture Mobile Application Developed in Flutter. Running on both mobile platforms, Android 🤖 & iOS 🍎 . About this app This app

Aug 9, 2022

Flutter bloc example - An app for State management using BLoC pattern in Flutter

Flutter bloc example - An app for State management using BLoC pattern in Flutter

Flutter BLoC My first app for State management using BLoC pattern in Flutter Col

Jun 16, 2022

An extension to the bloc state management library which lets you create State Machine using a declarative API

An extension to the bloc state management library which lets you create State Machine using a declarative API

Aug 15, 2022
Comments
  • 1. Widget or Golden Tests

    I would like to see an example of widget and/or golden tests. This would be really helpful.

    PS: Your widget_test.dart is a unit test and not widget test.

    Reviewed by mars3142 at 2022-07-25 11:04

Related

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

Jul 21, 2022
GetX - one of the most popular state management solution in flutter
GetX - one of the most popular state management solution in flutter

GteX Tutorial - Udemy GetX is one of the most popular state management solution in flutter. In addition to state management, GetX provides easy way to

May 18, 2022
Flutter getx template - A Flutter Template using GetX package for State management, routing and Dependency Injection
Flutter getx template - A Flutter Template using GetX package for State management, routing and Dependency Injection

Flutter GetX Template (GetX, Dio, MVVM) This Flutter Template using GetX package

Jul 3, 2022
FlutterQRcode - Flutter QR Code Scanner app for a specific type of QR using GetX State Management Architecture
FlutterQRcode - Flutter QR Code Scanner app for a specific type of QR using GetX State Management Architecture

qrcode A new Flutter QR Scanner Project for Data Entry using GetX state manageme

Jun 8, 2022
An example Flutter Shopping Cart UI using GetX State Management in conjunction with Firestore Database.

shopping_cart An example Flutter Shopping Cart UI using GetX State Management in conjunction with Firestore Database. ??️ Demo Demo.Shopping.Cart.mp4

Jul 6, 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.

Jan 5, 2022
Repo for my MobX state management course

MobX state management Repo for my MobX state management course (https://youtu.be/7Od55PBxYkI) Getting Started Each step of the course is in its own ta

Aug 10, 2022
Jul 15, 2022
Flutter Control is complex library to maintain App and State management. Library merges multiple functionality under one hood. This approach helps to tidily bound separated logic into complex solution.
Flutter Control is complex library to maintain App and State management. Library merges multiple functionality under one hood. This approach helps to tidily bound separated logic into complex solution.

Flutter Control is complex library to maintain App and State management. Library merges multiple functionality under one hood. This approach helps to

Feb 23, 2022