FLUTTER ECOSYSTEM

bachhoan88/FlutterCleanArchitecture

Flutter를 위한 클린 아키텍처

FlutterCleanArchitecture 프로젝트 이미지
Stars
137
Forks
77
최근 푸시(UTC)
2023. 2. 10.
프로젝트 상태
활성
Bach GitHub avatar
GITHUB User

Bach ↗

Sun Asterisk
언어DartC++CMakeHTMLRubySwiftCKotlinObjective-C

기술 주제

사용 중인 의존성

의존성 목록 28 개

순위

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

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.