flutter_bloc_app_template
📦 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.
- Stars
- 197
- Forks
- 46
- Last push (UTC)
- Sep 16, 2026
- Project status
- Active
Original README
English project snapshot. Visit GitHub for the latest content.
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.
How to use 🐾
Just click on 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:

- dev: --flavor dev -t lib/main_dev.dart
Android Screenshots




iOS Screenshots




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.
Categories
Dependencies used
Dependency list 50 items
- flutter
{"sdk":"flutter"} - flutter_bloc
^9.0.0 - bloc
^9.0.0 - logger
^2.5.0 - equatable
^2.0.7 - http
^1.4.0 - json_annotation
^4.9.0 - shared_preferences
^2.5.2 - dio
^5.8.0+1 - intl
^0.20.2 - google_fonts
8.2.1 - freezed_annotation
^3.0.0 - intl_utils
^2.8.10 - effective_dart
^1.3.2 - flutter_svg
^2.0.17 - gap
^3.0.1 - path_provider
^2.1.5 - file
^7.0.0 - get_it
9.2.1 - injectable
^2.5.0 - nullx
^0.1.17 - retrofit
^4.4.2 - retrofit_generator
^10.0.1 - dartz
^0.10.1 - talker
^5.0.0 - talker_logger
^5.0.0 - talker_dio_logger
^5.0.0 - talker_bloc_logger
^5.0.0 - animations
^3.0.0 - yaml
^3.1.2 - collection
^1.18.0 - package_info_plus
^10.0.0 - provider
^6.1.5 - url_launcher
^6.3.2 - flutter_localizations
{"sdk":"flutter"} - flutter_testDevelopment
{"sdk":"flutter"} - integration_testDevelopment
{"sdk":"flutter"} - flutter_driverDevelopment
{"sdk":"flutter"} - build_runnerDevelopment
^2.4.15 - injectable_generatorDevelopment
^2.9.1 - flutter_gen_runnerDevelopment
^5.9.0 - json_serializableDevelopment
^6.11.2 - lintDevelopment
^2.8.0 - mockitoDevelopment
^5.4.5 - bloc_testDevelopment
^10.0.0 - flutter_lintsDevelopment
^6.0.0 - mocktailDevelopment
^1.0.4 - freezedDevelopment
^3.2.3 - network_image_mockDevelopment
^2.1.1 - flutter_oss_licensesDevelopment
^3.0.4
Rankings
How do I choose a repository?
Start with your use case, compare repository activity, and check the original project before adopting it.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- Read the README, license and issues on GitHub before using a project.
Sources and maintenance
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗