{"id":27193605,"url":"https://github.com/celerik/flutter-boilerplate","last_synced_at":"2025-07-08T00:33:11.225Z","repository":{"id":47008500,"uuid":"366162431","full_name":"celerik/flutter-boilerplate","owner":"celerik","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-12T17:52:53.000Z","size":1898,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T19:03:44.074Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/celerik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-10T20:05:38.000Z","updated_at":"2021-09-20T15:15:55.000Z","dependencies_parsed_at":"2022-09-17T14:10:19.324Z","dependency_job_id":null,"html_url":"https://github.com/celerik/flutter-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/celerik/flutter-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celerik%2Fflutter-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celerik%2Fflutter-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celerik%2Fflutter-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celerik%2Fflutter-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/celerik","download_url":"https://codeload.github.com/celerik/flutter-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celerik%2Fflutter-boilerplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261896998,"owners_count":23226647,"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":[],"created_at":"2025-04-09T18:56:24.489Z","updated_at":"2025-06-25T15:06:51.689Z","avatar_url":"https://github.com/celerik.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Getting Started\n\nThis project is a starting point for a Flutter application.\n\nThis boilerplate includes:\n\n- Internationalization\n- Auth with cognito\n- Shared preferences storage\n- Bloc pattern for state management\n- Custom widgets\n\n## Running the app\n\nMake sure you have installed the flutter sdk (check here to install and setup: https://flutter.dev/docs/get-started/install):\n\n- Run this command to check if flutter is installed in you machine: ``` flutter doctor ```\n- To install the packages ``` flutter pub get ```\n\nAfter running the project make sure you have emulator on (iOS or Android):\n\n- To run the project ``` flutter run ```\n\nAfter running these commands the app will be shown on the emulator.\n\nNote: The project is also configured to run on windows, web and macOS, however additional configuration is required.\n\n## Test\n\nTo run the test just run the following command:\n\n``` flutter test ```\n\n## Splash screen\n\nTo add a splash screen follow the next steps:\n\n- Add your custom image inside the assets/images folder.\n- Replace the image route inside the pubspec.yaml in the flutter_native_splash statement.\n- In the flutter_native_splash you can change a lot of properties (see: https://pub.dev/packages/flutter_native_splash).\n- Run ``` flutter pub get ```.\n- Run ``` flutter pub run flutter_native_splash:create ``` to create the assets and the configuration.\nfor the splash screen for the different options (Android, iOS, etc).\n- Finally run your application and you will see the splash screen created.\n\n## Additional files\n\n### Cognito credentials\n\nThis project uses cognito to do the authentication part. To use this service add\na file called ```cognito_credentials.dart``` in the lib folder, then inside the file copy and\npaste this configuration: \n\n```dart\nconst poolId = \"POOLID\";\nconst appId = \"APPID\";\n```\n\nChange the POOLI and APPID variables with your specific user pool configuration. Finally, \nrun ```flutter pug get```, and then your project should be working on your device or emulator.\n\n### Enviroment File\n\nCreate file in path directory \".env\", example file with name \".env_example\"\n\n\n## Support\n\nA few resources to get you started if this is your first Flutter project:\n\n- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)\n- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)\n\nFor help getting started with Flutter, view our\n[online documentation](https://flutter.dev/docs), which offers tutorials,\nsamples, guidance on mobile development, and a full API reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelerik%2Fflutter-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcelerik%2Fflutter-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelerik%2Fflutter-boilerplate/lists"}