Giter Site home page Giter Site logo

ilisium-tech / fluttercleanarchitecture Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bachhoan88/fluttercleanarchitecture

0.0 0.0 0.0 685 KB

Clean Architecture for Flutter

License: MIT License

Ruby 0.99% C++ 7.68% C 0.52% Objective-C 0.01% Kotlin 0.05% Dart 82.30% Swift 0.76% HTML 1.45% CMake 6.24%

fluttercleanarchitecture's Introduction

flutter_clean_architecture

This is a simple for Clean Architecture using the Provider Pattern

App architecture

Data Flow

Structure

Exception Flow

Structure

Run with Flavor (dev | stag | prod)

flutter run --flavor dev --dart-define=FLAVOR=dev If using the another library not build with null-safety. Please run with argument flutter run --no-sound-null-safety

Environment

Framework

  • Dart: '>=2.12.0 <3.0.0'
  • Flutter: '>=2.0.0'

iOS

  • iOS 13+

Android

  • Android 5.1+
    • minSdkVersion 22
  • targetSdkVersion 30

Code Style

Assets, Fonts

If added some assets or fonts

Models

If added some models for api results

Auto generate resource

flutter packages pub run build_runner build --delete-conflicting-outputs

Auto generate mock class using on Unit Test

Example: After created the test class, and run command below, the mock class MockMovieRepository will auto generate

@GenerateMocks([MovieRepository])
void main() {
  late MovieRepository repository;
}

flutter pub run build_runner build --delete-conflicting-outputs

Auto generate asset image

fluttergen -c pubspec.yaml

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

fluttercleanarchitecture's People

Contributors

hoaibn-0332 avatar bachhoan88 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.