{"id":24491713,"url":"https://github.com/asif-faizal/pull-to-refresh-rive","last_synced_at":"2025-03-15T02:26:28.585Z","repository":{"id":269393125,"uuid":"828128333","full_name":"Asif-Faizal/Pull-to-Refresh-Rive","owner":"Asif-Faizal","description":"This Flutter project demonstrates a custom pull-to-refresh animation using Rive and its state machines","archived":false,"fork":false,"pushed_at":"2024-12-25T05:36:49.000Z","size":295,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T18:19:01.341Z","etag":null,"topics":["animation","rive","state-machines"],"latest_commit_sha":null,"homepage":"","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/Asif-Faizal.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-13T07:46:11.000Z","updated_at":"2024-12-25T05:36:53.000Z","dependencies_parsed_at":"2024-12-23T09:22:05.312Z","dependency_job_id":"c576a0e7-4082-47b4-80c0-8c454035c6ae","html_url":"https://github.com/Asif-Faizal/Pull-to-Refresh-Rive","commit_stats":null,"previous_names":["asif-faizal/rive-pull_refresh"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asif-Faizal%2FPull-to-Refresh-Rive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asif-Faizal%2FPull-to-Refresh-Rive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asif-Faizal%2FPull-to-Refresh-Rive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asif-Faizal%2FPull-to-Refresh-Rive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Asif-Faizal","download_url":"https://codeload.github.com/Asif-Faizal/Pull-to-Refresh-Rive/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243673766,"owners_count":20328971,"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":["animation","rive","state-machines"],"created_at":"2025-01-21T18:19:03.414Z","updated_at":"2025-03-15T02:26:28.562Z","avatar_url":"https://github.com/Asif-Faizal.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom Pull-to-Refresh Animation with [Rive](https://rive.app/) in Flutter\r\n\r\nhttps://github.com/user-attachments/assets/190afde9-f818-448a-b11a-8465376b1ff3\r\n\r\nThis Flutter project demonstrates a custom pull-to-refresh animation using Rive and its state machines to reflect different states during the pull-to-refresh process. The project integrates Rive's powerful animation capabilities to create a smooth and visually appealing refresh interaction.\r\n\r\n## Features\r\n\r\nCustom Pull-to-Refresh: The pull-to-refresh interaction is animated with a Rive animation.\r\nState Machines: Rive state machines are used to reflect different states of the pull-to-refresh, such as \"idle,\" \"pulling,\" \"refreshing,\" and \"completed.\"\r\nSmooth Integration: The Rive animation is smoothly integrated with Flutter's RefreshIndicator.\r\n\r\n## Installation\r\n\r\n### Clone this repository:\r\n```bash\r\ngit clone https://github.com/Asif-Faizal/Rive-Pull_refresh.git\r\n```\r\n\r\n### Navigate to the project directory:\r\n```bash\r\ncd Pull-to-Refresh-Rive\r\n```\r\n\r\nMake sure you have an active Rive account and use their tools to design your pull-to-refresh animation. Export the .riv file and place it in the assets directory.\r\n\r\nAdd the Rive package to your pubspec.yaml:\r\n```yaml\r\ndependencies:\r\n  flutter:\r\n    sdk: flutter\r\n  rive: ^0.8.0\r\n```\r\n\r\nUpdate your pubspec.yaml to include the assets directory:\r\n```yaml\r\nflutter:\r\n  assets:\r\n    - assets/animations/pull_to_refresh.riv\r\n```\r\n\r\n### Install the dependencies:\r\n```bash\r\nflutter pub get\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasif-faizal%2Fpull-to-refresh-rive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasif-faizal%2Fpull-to-refresh-rive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasif-faizal%2Fpull-to-refresh-rive/lists"}