{"id":21669820,"url":"https://github.com/ashtanko/flutter_bloc_app_template","last_synced_at":"2025-10-04T09:24:07.520Z","repository":{"id":38447236,"uuid":"482597666","full_name":"ashtanko/flutter_bloc_app_template","owner":"ashtanko","description":"📦 A robust template for building Flutter applications using the BLoC pattern, promoting a clear separation of concerns and enhancing maintainability. Ideal for developers looking to implement scalable state management solutions.","archived":false,"fork":false,"pushed_at":"2025-03-22T18:00:42.000Z","size":46469,"stargazers_count":128,"open_issues_count":2,"forks_count":36,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T18:04:31.974Z","etag":null,"topics":["bloc","dart","dartlang","developwithgoogle","flutter","flutter-bloc-pattern","flutter-demo","flutter-examples","flutter-lint","flutter-material","flutter-template","github-actions","intl","template-repository","theme-switcher","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashtanko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-17T18:06:59.000Z","updated_at":"2025-03-25T10:31:23.000Z","dependencies_parsed_at":"2024-01-16T18:59:12.980Z","dependency_job_id":"34ba0cf1-c828-45d1-acb8-3a96c400985a","html_url":"https://github.com/ashtanko/flutter_bloc_app_template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashtanko%2Fflutter_bloc_app_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashtanko%2Fflutter_bloc_app_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashtanko%2Fflutter_bloc_app_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashtanko%2Fflutter_bloc_app_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashtanko","download_url":"https://codeload.github.com/ashtanko/flutter_bloc_app_template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247526753,"owners_count":20953143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bloc","dart","dartlang","developwithgoogle","flutter","flutter-bloc-pattern","flutter-demo","flutter-examples","flutter-lint","flutter-material","flutter-template","github-actions","intl","template-repository","theme-switcher","unit-testing"],"created_at":"2024-11-25T12:25:21.055Z","updated_at":"2025-10-04T09:24:07.514Z","avatar_url":"https://github.com/ashtanko.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter-bloc-app-template 🤖\nThis is a basic Flutter project template that uses the BLoC pattern architecture for state management. \nIt is a good starting point for creating a new Flutter app that uses BLoC for state management.\n\nThis template is focused on delivering a project with **static analysis** and **continuous integration** already in place.\n\n[![style: lint][lint-style-badge]][lint-style-link]\n[![codecov][codecov-badge]][codecov-link]\n[![CI][ci-badge]][ci-link]\n[![CodeFactor][codefactor-badge]][codefactor-link]\n[![License][license-badge]][license-link]\n[![style: effective dart][style-badge]][style-link]\n[![GitHub forks][forks-badge]][forks-link]\n[![GitHub stars][stars-badge]][stars-link]\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/1c12bf943fea43098f0853a05e2366be)](https://app.codacy.com/gh/ashtanko/flutter_bloc_app_template/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/1c12bf943fea43098f0853a05e2366be)](https://app.codacy.com/gh/ashtanko/flutter_bloc_app_template/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_coverage)\n\n## How to use 🐾\nJust click on [![Use this template](https://img.shields.io/badge/-Use%20this%20template-brightgreen)](https://github.com/ashtanko/flutter_bloc_app_template/generate) button to create a new repo starting from this template.\n\n## Features 🦄\n- Theme support\n- BLoC pattern [**bloc**](https://pub.dev/packages/bloc)\n- Service Locator using [**get_it**](https://pub.dev/packages/get_it)\n- Localization using [**intl**](https://pub.dev/packages/intl)\n- CI Setup with GitHub Actions\n- Codecov Setup with GitHub Actions\n- Unit test coverage\n- Integration tests\n\n## Configuration\nThe template has 3 flavors:\n- dev\n- prod\n- qa\n\nThe template has 3 build variants:\n- debug\n- profile\n- release\n\nFor example dev configuration for Android Studio looks like:\n\n\u003cp align=\"left\"\u003e\n\u003cimg src=\"/preview/config/dev.png\" width=\"32%\"/\u003e\n\u003c/p\u003e\n\n- dev: --flavor dev -t lib/main_dev.dart\n\n## Android Screenshots\n\u003cp align=\"left\"\u003e\n\u003cimg src=\"/preview/android/launches_android_dark_theme.png\" width=\"32%\"/\u003e\n\u003cimg src=\"/preview/android/launches_android_light_theme.png\" width=\"32%\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"left\"\u003e\n\u003cimg src=\"/preview/android/messages_android_dark_theme.png\" width=\"32%\"/\u003e\n\u003cimg src=\"/preview/android/messages_android_ligth_theme.png\" width=\"32%\"/\u003e\n\u003c/p\u003e\n\n## iOS Screenshots\n\u003cp align=\"left\"\u003e\n\u003cimg src=\"/preview/ios/launches_ios_dark_theme.png\" width=\"32%\"/\u003e\n\u003cimg src=\"/preview/ios/launches_ios_light_theme.png\" width=\"32%\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"left\"\u003e\n\u003cimg src=\"/preview/ios/messages_ios_dark_theme.png\" width=\"32%\"/\u003e\n\u003cimg src=\"/preview/ios/messages_ios_ligth_theme.png\" width=\"32%\"/\u003e\n\u003c/p\u003e\n\n\n## Static Analysis 🔍\n\nThis template is using [**analyzer**](https://pub.dev/packages/analyzer)\n\nSupported Lint [**Rules**](https://dart-lang.github.io/linter/lints/)\n\nSupported Dart Code [**Metrics**](https://dartcodemetrics.dev/docs/getting-started/introduction)\n\nDart [**Lint**](https://github.com/passsy/dart-lint)\n\n## CI ⚙️\nThis template is using [**GitHub Actions**](https://github.com/ashtanko/flutter_app_skeleton/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.\n\n## How to build 🛠️\n\nThe Project uses [**FlutterGen**](https://github.com/FlutterGen/flutter_gen) to generate localizations, dependencies and mocks\n\nActivate flutter_gen using dart pub global activate flutter_gen command if you haven't done that before.\n\nafter add export PATH=\"$PATH\":\"$HOME/.pub-cache/bin\" to bash_profile\n\n``` bash\n# clean project, install dependencies \u0026 generate sources\nmake\n\n# generate localizations, dependencies, image assets, colors, fonts\nmake gen\n\n# generate localizations\nmake localize\n\n# analyze the project\ncheck\n```\n\n## Reminders 🧠\nChange name in pubspec.yaml file\n\nRemove anything you don't need\n\nConfigure analysis_options.yaml for your needs\n\n## Contributing 🤝\n\nFeel free to open a issue or submit a pull request for any bugs/improvements.\n\n## License 📄\n\nThis template is licensed under the MIT License - see the [License](LICENSE) file for details.\nPlease 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.\n\n[lint-style-badge]: https://img.shields.io/badge/style-lint-4BC0F5.svg\n[lint-style-link]: https://pub.dev/packages/lint\n[codecov-badge]: https://codecov.io/gh/ashtanko/flutter_bloc_app_template/branch/main/graph/badge.svg?token=T68Rqwj7Ll\n[codecov-link]: https://codecov.io/gh/ashtanko/flutter_bloc_app_template\n[ci-badge]: https://github.com/ashtanko/flutter_bloc_app_template/actions/workflows/ci.yml/badge.svg\n[ci-link]: https://github.com/ashtanko/flutter_bloc_app_template/actions/workflows/ci.yml\n[codefactor-badge]: https://www.codefactor.io/repository/github/ashtanko/flutter_bloc_app_template/badge\n[codefactor-link]: https://www.codefactor.io/repository/github/ashtanko/flutter_bloc_app_template\n[license-badge]: https://img.shields.io/github/license/dart-code-checker/dart-code-metrics\n[license-link]: https://github.com/dart-code-checker/dart-code-metrics/blob/master/LICENSE\n[style-badge]: https://img.shields.io/badge/style-effective_dart-40c4ff.svg\n[style-link]: https://pub.dev/packages/effective_dart\n[forks-badge]: https://img.shields.io/github/forks/ashtanko/flutter_bloc_app_template\n[forks-link]: https://github.com/ashtanko/flutter_bloc_app_template/network\n[stars-badge]: https://img.shields.io/github/stars/ashtanko/flutter_bloc_app_template\n[stars-link]: https://github.com/ashtanko/flutter_bloc_app_template/stargazers","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashtanko%2Fflutter_bloc_app_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashtanko%2Fflutter_bloc_app_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashtanko%2Fflutter_bloc_app_template/lists"}