GithubHelp home page GithubHelp logo

mcquenji / flutter_modular_bricks Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 363 KB

Bricks for working with flutter_modular

License: MIT License

Dart 36.02% Kotlin 0.18% Swift 2.31% Objective-C 0.05% CMake 26.02% C++ 31.84% C 1.90% HTML 1.67%

flutter_modular_bricks's Introduction

Flutter Modular Bricks

Bricks for working with flutter_modular.

Global Bricks

To bootstrap your projects install these bricks globally:

mason add -g app --git-url https://github.com/mcquenji/flutter_modular_bricks --git-path app
mason add -g package --git-url https://github.com/mcquenji/flutter_modular_bricks --git-path package

Now you can use the following commands to create your new app:

mason make app

or package:

mason make package

Local Bricks

You can skip this if you've created your project using the global bricks.

Requirements

You must have mason_cli installed on your system and your project must have the following dependencies installed:

dependencies:
  bloc: ^8.1.4
  flutter_modular: ^6.3.4
  freezed_annotation: ^2.4.4
  json_annotation: ^4.9.0
  mcquenji_core:
    git:
      url: https://github.com/mcquenji/mcquenji_core.git

dev_dependencies:
  flutter_test:
    sdk: flutter
  freezed: ^2.5.2
  json_serializable: ^6.8.0

Installation

To use the bricks in your project, init you project using mason init. Then add the bricks to your project by pasting the following code in your mason.yaml file:

bricks:
  datasource:
    git:
      url: https://github.com/mcquenji/flutter_modular_bricks
      path: datasource
  datasource-impl:
    git:
      url: https://github.com/mcquenji/flutter_modular_bricks
      path: datasource-impl
  guard:
    git:
      url: https://github.com/mcquenji/flutter_modular_bricks
      path: guard
  model:
    git:
      url: https://github.com/mcquenji/flutter_modular_bricks
      path: model
  module:
    git:
      url: https://github.com/mcquenji/flutter_modular_bricks
      path: module
  repo:
    git:
      url: https://github.com/mcquenji/flutter_modular_bricks
      path: repo
  screen:
    git:
      url: https://github.com/mcquenji/flutter_modular_bricks
      path: screen
  service:
    git:
      url: https://github.com/mcquenji/flutter_modular_bricks
      path: service
  service-impl:
    git:
      url: https://github.com/mcquenji/flutter_modular_bricks
      path: service-impl
  util:
    git:
      url: https://github.com/mcquenji/flutter_modular_bricks
      path: util
  widget:
    git:
      url: https://github.com/mcquenji/flutter_modular_bricks
      path: widget

After adding the bricks to your mason.yaml file, run mason get to download the bricks into your project.

flutter_modular_bricks's People

Contributors

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