{"id":22955040,"url":"https://github.com/getrighhttt/flutter_bloc-post-example","last_synced_at":"2026-04-28T17:32:36.488Z","repository":{"id":249667565,"uuid":"832181459","full_name":"GetRighhttt/Flutter_BLoC-Post-Example","owner":"GetRighhttt","description":"Example of making api requests in BLoC.","archived":false,"fork":false,"pushed_at":"2024-09-29T02:22:24.000Z","size":334,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T16:16:22.982Z","etag":null,"topics":["bloc","events","flutter","http","http-client"],"latest_commit_sha":null,"homepage":"","language":"C++","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/GetRighhttt.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-22T13:43:22.000Z","updated_at":"2024-10-03T02:30:14.000Z","dependencies_parsed_at":"2024-12-14T16:27:47.747Z","dependency_job_id":"96555129-f5a9-4979-88d2-c0cf9ba41b46","html_url":"https://github.com/GetRighhttt/Flutter_BLoC-Post-Example","commit_stats":null,"previous_names":["getrighhttt/api_requests_bloc","getrighhttt/bloc-post-example","getrighhttt/flutter_bloc-post-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetRighhttt%2FFlutter_BLoC-Post-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetRighhttt%2FFlutter_BLoC-Post-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetRighhttt%2FFlutter_BLoC-Post-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetRighhttt%2FFlutter_BLoC-Post-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GetRighhttt","download_url":"https://codeload.github.com/GetRighhttt/Flutter_BLoC-Post-Example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246735343,"owners_count":20825223,"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","events","flutter","http","http-client"],"created_at":"2024-12-14T16:26:52.259Z","updated_at":"2026-04-28T17:32:36.449Z","avatar_url":"https://github.com/GetRighhttt.png","language":"C++","readme":"## **Api Request in BLoC**\n\n## **Introduction**\nPracticing the BLoC pattern to handle state and events.\nUsed jsonplaceholder to mimic making two different api calls. One on the main\nscreen and the other when the floating action button is clicked.\u003cbr\u003e\nAlso used method channels to get the battery life of android \u0026 ios devices.\n\n## **Installation**\n1. Have Android Studio downloaded.\n2. Clone the repository into Android Studio: **`git clone: git@github.com:GetRighhttt/Flutter_BLoC-Post-Example.git`**\n\n## **Usage**\n1. Open the project in Android Studio.\n\n2. Modify the source code to fit your needs.\n\n3. Build the project.\n\n4. Start the project.\n\n5. Use the project as desired.\n\n## **Contributing**\n1. Fork the repository.\n\n2. Create a new branch for your changes.\n\n3. Make your changes.\n\n4. Write tests to cover your changes.\n\n5. Run the tests to ensure they pass.\n\n6. Commit your changes.\n\n7. Push your changes to your forked repository.\n\n8. Submit a pull request.\n\n### Demos\n\nhttps://github.com/user-attachments/assets/c90c6c36-7ca9-42b9-acc2-03a3efe86ac6\n\n#### Battery Life\nhttps://github.com/user-attachments/assets/ec84db6a-eb08-4232-a942-9ee5e04ede50\n\n\n## **Contact**\n\nIf you have any questions or comments, please contact **stefanbusiness95@gmail.com**.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetrighhttt%2Fflutter_bloc-post-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetrighhttt%2Fflutter_bloc-post-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetrighhttt%2Fflutter_bloc-post-example/lists"}