GithubHelp home page GithubHelp logo

tchigher / flutter-architecture-blueprints Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wasabeef/flutter-architecture-blueprints

0.0 0.0 0.0 105.16 MB

Flutter Architecture Blueprints is a project that introduces MVVM architecture and project structure approaches to developing Flutter apps.

License: MIT License

Kotlin 0.17% Swift 0.57% Objective-C 0.05% Dart 89.95% HTML 1.57% Makefile 2.55% Ruby 4.96% Shell 0.17%

flutter-architecture-blueprints's Introduction

Flutter Architecture Blueprints

Flutter Architecture Blueprints is a project that introduces MVVM architecture and project structure approaches to developing Flutter apps.

Documentation

Requirements

Environment

iOS

  • iOS 13+
  • compatibilityVersion "Xcode 9.3"

Android

  • Android 5.1+
    • minSdkVersion 22
  • targetSdkVersion 30

Code collections

Project settings

Working status Category Description Codes
Dart Dart version pubspec.yaml
Dart Switching between Development and Production environment constants.dart, runConfigurations, Makefile
Dart Lint / Analyze analysis_options.yaml
Android Kotlin version build.gradle
Android Apk attributes build.gradle (compileSdkVersion, applicationId, minSdkVersion, targetSdkVersion)
Android Switching between Development and Production environment build.gradle, Flavor dirs, signingConfigs
iOS Xcode version compatibilityVersion
iOS Podfile Podfile
iOS Switching between Development and Production environment xcconfig, Podfile

Architecture

Working status Category Description Codes
Base Using Riverpod + Hooks + ChangeNotifier + MVVM home_page.dart, home_view_model.dart, news_repository.dart, news_data_source.dart
Networking Using dio app_dio.dart, news_data_source_impl.dart
Caching Using dio_http_cache news_data_source_impl.dart
Persist Data Using shared_preferences theme_data_source_impl.dart
Constants Define constants and route names constants.dart
Localization Switching between two languages with Intl package message.dart, context.localized, *.arb, message_(en|ja).dart
🤔 Error handling Using ChangeNotifier change_notifier_with_error_handle.dart, error_notifier.dart, home_view_model.dart

UI

Working status Category Description Codes
Theme Dynamically Switch between light and dark themes app_theme.dart, app.dart
Font Using Google font app_theme.dart
Transition Simple animation between screens using Hero article_item.dart, detail_page.dart

Testing

Working status Category Description Codes
API(Repositories) Using Mockito view_mode_test.dart, app_theme_test.dart
✅️ UI Using Mockito widget_test.dart
Coverage reports Send the report to Codecov on CI codecov.yml, codecov.sh, flutte-ci.yml

CI

Working status Category Description Codes
Git Git hooks for format and analyze package.json, Makefile
Git .gitignore settings .gitignore
Build Using Codemagic codemagic.yaml
Build Using Bitrise bitrise.yml
Build Using Github Actions .github/workflows/flutter-ci.yml

Getting Started

Setup

$ make setup
$ make build-runner

Make .apk and .ipa file

Android

$ make build-android-dev
$ make build-android-prd

iOS

$ make build-ios-dev
$ make build-ios-prd

Run app

$ make run-dev
$ make run-prd

Special Thanks.

Contributors

flutter-architecture-blueprints's People

Contributors

lcdsmao avatar wasabeef 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.