{"id":26017061,"url":"https://github.com/cscoderr/flutter-bloc-hackathon-starter","last_synced_at":"2026-06-06T11:31:07.742Z","repository":{"id":129737195,"uuid":"409536058","full_name":"cscoderr/flutter-bloc-hackathon-starter","owner":"cscoderr","description":"Flutter Bloc Hackathon Starter","archived":false,"fork":false,"pushed_at":"2022-01-20T07:41:16.000Z","size":1678,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-06T04:51:26.889Z","etag":null,"topics":["bloc","clean-architecture","dart","flutter","flutter-app","flutter-apps","flutter-demo","flutter-examples","flutter-package","flutterbloc","hackathon","hackathon-project","hackathons","mobile-app","vgv"],"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/cscoderr.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":"2021-09-23T09:54:34.000Z","updated_at":"2024-04-17T08:49:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"40f19278-46b1-413c-8b8d-3adc18d2b642","html_url":"https://github.com/cscoderr/flutter-bloc-hackathon-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cscoderr/flutter-bloc-hackathon-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscoderr%2Fflutter-bloc-hackathon-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscoderr%2Fflutter-bloc-hackathon-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscoderr%2Fflutter-bloc-hackathon-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscoderr%2Fflutter-bloc-hackathon-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cscoderr","download_url":"https://codeload.github.com/cscoderr/flutter-bloc-hackathon-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscoderr%2Fflutter-bloc-hackathon-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33981122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","clean-architecture","dart","flutter","flutter-app","flutter-apps","flutter-demo","flutter-examples","flutter-package","flutterbloc","hackathon","hackathon-project","hackathons","mobile-app","vgv"],"created_at":"2025-03-06T04:50:55.407Z","updated_at":"2026-06-06T11:31:07.736Z","avatar_url":"https://github.com/cscoderr.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter Bloc Hackathon Starter\n\n![coverage][coverage_badge]\n[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]\n[![License: MIT][license_badge]][license_link]\n\nGenerated by the [Very Good CLI][very_good_cli_link] 🤖\n\nA Very Good Project created by Very Good CLI.\n\n---\n\n## Getting Started 🚀\n\nThis project contains 3 flavors:\n\n- development\n- staging\n- production\n\nTo run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:\n\n```sh\n# Development\n$ flutter run --flavor development --target lib/main_development.dart\n\n# Staging\n$ flutter run --flavor staging --target lib/main_staging.dart\n\n# Production\n$ flutter run --flavor production --target lib/main_production.dart\n```\n\n_\\*Flutter Bloc Hackathon Starter works on iOS, Android, and Web._\n\n---\n\n## Running Tests 🧪\n\nTo run all unit and widget tests use the following command:\n\n```sh\n$ flutter test --coverage --test-randomize-ordering-seed random\n```\n\nTo view the generated coverage report you can use [lcov](https://github.com/linux-test-project/lcov).\n\n```sh\n# Generate Coverage Report\n$ genhtml coverage/lcov.info -o coverage/\n\n# Open Coverage Report\n$ open coverage/index.html\n```\n\n---\n\n## Working with Translations 🌐\n\nThis project relies on [flutter_localizations][flutter_localizations_link] and follows the [official internationalization guide for Flutter][internationalization_link].\n\n### Adding Strings\n\n1. To add a new localizable string, open the `app_en.arb` file at `lib/l10n/arb/app_en.arb`.\n\n```arb\n{\n    \"@@locale\": \"en\",\n    \"counterAppBarTitle\": \"Counter\",\n    \"@counterAppBarTitle\": {\n        \"description\": \"Text shown in the AppBar of the Counter Page\"\n    }\n}\n```\n\n2. Then add a new key/value and description\n\n```arb\n{\n    \"@@locale\": \"en\",\n    \"counterAppBarTitle\": \"Counter\",\n    \"@counterAppBarTitle\": {\n        \"description\": \"Text shown in the AppBar of the Counter Page\"\n    },\n    \"helloWorld\": \"Hello World\",\n    \"@helloWorld\": {\n        \"description\": \"Hello World Text\"\n    }\n}\n```\n\n3. Use the new string\n\n```dart\nimport 'package:flutter_bloc_hackathon_starter/l10n/l10n.dart';\n\n@override\nWidget build(BuildContext context) {\n  final l10n = context.l10n;\n  return Text(l10n.helloWorld);\n}\n```\n\n### Adding Supported Locales\n\nUpdate the `CFBundleLocalizations` array in the `Info.plist` at `ios/Runner/Info.plist` to include the new locale.\n\n```xml\n    ...\n\n    \u003ckey\u003eCFBundleLocalizations\u003c/key\u003e\n\t\u003carray\u003e\n\t\t\u003cstring\u003een\u003c/string\u003e\n\t\t\u003cstring\u003ees\u003c/string\u003e\n\t\u003c/array\u003e\n\n    ...\n```\n\n### Adding Translations\n\n1. For each supported locale, add a new ARB file in `lib/l10n/arb`.\n\n```\n├── l10n\n│   ├── arb\n│   │   ├── app_en.arb\n│   │   └── app_es.arb\n```\n\n2. Add the translated strings to each `.arb` file:\n\n`app_en.arb`\n\n```arb\n{\n    \"@@locale\": \"en\",\n    \"counterAppBarTitle\": \"Counter\",\n    \"@counterAppBarTitle\": {\n        \"description\": \"Text shown in the AppBar of the Counter Page\"\n    }\n}\n```\n\n`app_es.arb`\n\n```arb\n{\n    \"@@locale\": \"es\",\n    \"counterAppBarTitle\": \"Contador\",\n    \"@counterAppBarTitle\": {\n        \"description\": \"Texto mostrado en la AppBar de la página del contador\"\n    }\n}\n```\n\n[coverage_badge]: coverage_badge.svg\n[flutter_localizations_link]: https://api.flutter.dev/flutter/flutter_localizations/flutter_localizations-library.html\n[internationalization_link]: https://flutter.dev/docs/development/accessibility-and-localization/internationalization\n[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg\n[license_link]: https://opensource.org/licenses/MIT\n[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg\n[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis\n[very_good_cli_link]: https://github.com/VeryGoodOpenSource/very_good_cli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcscoderr%2Fflutter-bloc-hackathon-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcscoderr%2Fflutter-bloc-hackathon-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcscoderr%2Fflutter-bloc-hackathon-starter/lists"}