FLUTTER ECOSYSTEM

ashtanko/flutter_bloc_app_template

📦 BLoC 패턴을 사용하여 Flutter 애플리케이션을 구축하기 위한 강력한 템플릿으로, 관심사의 분리를 명확히 하고 유지보수성을 향상시킵니다. 확장 가능한 상태 관리 솔루션을 구현하고자 하는 개발자에게 이상적입니다.

flutter_bloc_app_template 프로젝트 이미지
Stars
197
Forks
46
최근 푸시(UTC)
2026. 9. 16.
프로젝트 상태
활성
Oleksii Shtanko GitHub avatar
GITHUB User

Oleksii Shtanko ↗

Senior Android Engineer. I am passionate about Android, Flutter and Golang

Lisbon, Portugal공식 웹사이트 ↗
언어DartMakefileRubyShellKotlinSwiftObjective-C

기술 주제

사용 중인 의존성

의존성 목록 50 개

순위

원본 README

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

README 펼치기 / 접기

flutter-bloc-app-template 🤖

This is a basic Flutter project template that uses the BLoC pattern architecture for state management. It is a good starting point for creating a new Flutter app that uses BLoC for state management.

This template is focused on delivering a project with static analysis and continuous integration already in place.

style: lint codecov CI CodeFactor License style: effective dart GitHub forks GitHub stars Codacy Badge Codacy Badge

How to use 🐾

Just click on Use this template button to create a new repo starting from this template.

Features 🦄

  • Theme support
  • BLoC pattern bloc
  • Service Locator using get_it
  • Localization using intl
  • CI Setup with GitHub Actions
  • Codecov Setup with GitHub Actions
  • Unit test coverage
  • Integration tests

Configuration

The template has 3 flavors:

  • dev
  • prod
  • qa

The template has 3 build variants:

  • debug
  • profile
  • release

For example dev configuration for Android Studio looks like:

https://raw.githubusercontent.com/ashtanko/flutter_bloc_app_template/HEAD/preview/config/dev.png

  • dev: --flavor dev -t lib/main_dev.dart

Android Screenshots

https://raw.githubusercontent.com/ashtanko/flutter_bloc_app_template/HEAD/preview/android/launches_android_dark_theme.png https://raw.githubusercontent.com/ashtanko/flutter_bloc_app_template/HEAD/preview/android/launches_android_light_theme.png

https://raw.githubusercontent.com/ashtanko/flutter_bloc_app_template/HEAD/preview/android/messages_android_dark_theme.png https://raw.githubusercontent.com/ashtanko/flutter_bloc_app_template/HEAD/preview/android/messages_android_ligth_theme.png

iOS Screenshots

https://raw.githubusercontent.com/ashtanko/flutter_bloc_app_template/HEAD/preview/ios/launches_ios_dark_theme.png https://raw.githubusercontent.com/ashtanko/flutter_bloc_app_template/HEAD/preview/ios/launches_ios_light_theme.png

https://raw.githubusercontent.com/ashtanko/flutter_bloc_app_template/HEAD/preview/ios/messages_ios_dark_theme.png https://raw.githubusercontent.com/ashtanko/flutter_bloc_app_template/HEAD/preview/ios/messages_ios_ligth_theme.png

Static Analysis 🔍

This template is using analyzer

Supported Lint Rules

Supported Dart Code Metrics

Dart Lint

CI ⚙️

This template is using GitHub Actions as CI. You don't need to setup any external service and you should have a running CI once you start using this template.

How to build 🛠️

The Project uses FlutterGen to generate localizations, dependencies and mocks

Activate flutter_gen using dart pub global activate flutter_gen command if you haven't done that before.

after add export PATH="$PATH":"$HOME/.pub-cache/bin" to bash_profile

# clean project, install dependencies & generate sources
make

# generate localizations, dependencies, image assets, colors, fonts
make gen

# generate localizations
make localize

# analyze the project
check

Reminders 🧠

Change name in pubspec.yaml file

Remove anything you don't need

Configure analysis_options.yaml for your needs

Contributing 🤝

Feel free to open a issue or submit a pull request for any bugs/improvements.

License 📄

This template is licensed under the MIT License - see the License file for details. Please note that the generated template is offering to start with a MIT license but you can change it to whatever you wish, as long as you attribute under the MIT terms that you're using the template.