GithubHelp home page GithubHelp logo

flutter_clean_architecture_folder_brick's Introduction

clean_architecture_folders_miro

A brick to create Clean Architecture Folders.

Generated by mason 🧱

Getting Started 🚀

 mason make clean_architecture_folders

Variables ✨

Variable Description Required Type
name The App Title Yes string

Output 📦

Generated folder architecture

📦lib
 ┣ 📂core
 ┃ ┣ 📂error
 ┃ ┃ ┣ 📜exceptions.dart
 ┃ ┃ ┗ 📜failure.dart
 ┃ ┣ 📂model
 ┃ ┣ 📂presentation
 ┃ ┣ 📂provider
 ┃ ┣ 📂resources
 ┃ ┣ 📂routes
 ┃ ┣ 📂themes
 ┃ ┣ 📜app_core.dart
 ┃ ┗ 📜app_strings.dart
 ┣ 📂feature
 ┃ ┣ 📂home
 ┃ ┃ ┣ 📂data
 ┃ ┃ ┃ ┣ 📂datasources
 ┃ ┃ ┃ ┃ ┣ 📂local
 ┃ ┃ ┃ ┃ ┗ 📂remote
 ┃ ┃ ┃ ┣ 📂models
 ┃ ┃ ┃ ┣ 📂repositories
 ┃ ┃ ┣ 📂domain
 ┃ ┃ ┃ ┣ 📂entities
 ┃ ┃ ┃ ┣ 📂repositories
 ┃ ┃ ┃ ┗ 📂usecases
 ┃ ┃ ┗ 📂presentation
 ┃ ┃   ┣ 📂providers
 ┃ ┃   ┣ 📂pages
 ┃ ┃   ┗ 📂widgets
 ┃ ┗ 📂more
 ┣ 📜app.dart
 ┣ 📜flavors.dart
 ┣ 📜index.dart
 ┣ 📜main_dev.dart
 ┣ 📜main_prod.dart
 ┣ 📜main.dart

execute after install this brick

1. add multiDexEnable flag in build.gradle (app side)

alt text

2. set your firebase setting

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "com.example.dongnesosik"
        // You can update the following values to match your application needs.
        // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
        minSdkVersion flutter.minSdkVersion
        targetSdkVersion flutter.targetSdkVersion
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        multiDexEnabled true
    }

3. create flavor with firebase files

  • script.sh -> 5

4. create icon file for app

  • script.sh -> 6

flutter_clean_architecture_folder_brick's People

Contributors

junddao avatar

Stargazers

 avatar

Watchers

 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.