Giter Site home page Giter Site logo

dalotee-project's Introduction

dalotee

DEVELOPMENT

Run Debug

flutter run --flavor dev -t lib/main.dart

Run Release

flutter run --release --flavor dev -t lib/main.dart  

Build Debug

flutter build <OS> --flavor dev -t lib/main.dart  

Build Release

flutter build <OS> --release --flavor dev -t lib/main.dart  

PRODUCTION

Run Debug

flutter run --flavor prod -t lib/main-prod.dart  

Run Release

flutter run --release --flavor prod -t lib/main-prod.dart  

Build Debug

flutter build <OS> --flavor prod -t lib/main-prod.dart  

Build Release

flutter build <OS> --release --flavor prod -t lib/main-prod.dart  

Generating Files

Build

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

Watch

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

Generate localization

flutter pub run intl_utils:generate

Generate icons

flutter pub run flutter_launcher_icons:main

Generate images

flutter packages pub run build_runner build

Project Structure

bloc/: Reusable blocs
commons/: mixins (loading view, post frame callback,...), helper classes
configs/: global constants, flavors, routes, IoC

data/local/: Local repositories like SharedPreferences, sqflite

data/remote/: Remote repositories
data/remote/api_service_client.dart: Define http interceptors
data/remote/api_service_helper.dart: Define base request handling
data/remote/api_service.dart: Define specific requests

data/model/: Model classes

l10n/: String values

presentation/: Presentation layer contains pages, dialogs, custom widgets,...

utils/: Utility classes like string utils, network utils, bitmap utils,...

values/: Colors, dimens, font sizes,...

dalotee-project's People

Contributors

hahpuc 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.