flutter-bloc-app-template 馃

Flutter bloc app template built the basic framework to realize the functions of internationalization

The project of the empty template with Flutter has built the basic framework to realize the functions of internationalization, theme peeling etc.

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

Screenshots

Flutter bloc app template built the basic framework to realize the functions of internationalization
Flutter bloc app template built the basic framework to realize the functions of internationalization

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鈥檛 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鈥檛 done that before.

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

Reminders 馃

Change name in pubspec.yaml file

Remove anything you don鈥檛 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鈥檙e using the template.

GitHub

View Github

Entradas similares