{"id":13536687,"url":"https://github.com/chrisedg87/flutter_rounded_loading_button","last_synced_at":"2026-02-22T19:33:47.187Z","repository":{"id":37843282,"uuid":"235820680","full_name":"chrisedg87/flutter_rounded_loading_button","owner":"chrisedg87","description":"A simple implementation of an animated loading button widget for Flutter","archived":false,"fork":false,"pushed_at":"2024-06-17T20:36:49.000Z","size":4402,"stargazers_count":350,"open_issues_count":27,"forks_count":88,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-07T22:17:44.809Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisedg87.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-01-23T15:11:42.000Z","updated_at":"2025-03-01T03:00:34.000Z","dependencies_parsed_at":"2024-06-17T21:47:58.383Z","dependency_job_id":"d4d60b96-05f1-4400-ad2a-f7f583b15ca8","html_url":"https://github.com/chrisedg87/flutter_rounded_loading_button","commit_stats":{"total_commits":120,"total_committers":11,"mean_commits":"10.909090909090908","dds":"0.19999999999999996","last_synced_commit":"cab32371f00368614535b68226b326d904ee2155"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisedg87%2Fflutter_rounded_loading_button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisedg87%2Fflutter_rounded_loading_button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisedg87%2Fflutter_rounded_loading_button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisedg87%2Fflutter_rounded_loading_button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisedg87","download_url":"https://codeload.github.com/chrisedg87/flutter_rounded_loading_button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246750952,"owners_count":20827807,"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":"2024-08-01T09:00:47.268Z","updated_at":"2026-02-22T19:33:47.135Z","avatar_url":"https://github.com/chrisedg87.png","language":"Dart","readme":"# rounded_loading_button\n\n[![pub package](https://img.shields.io/pub/v/rounded_loading_button.svg)](https://pub.dev/packages/rounded_loading_button) \n![build](https://github.com/chrisedg87/flutter_rounded_loading_button/workflows/build/badge.svg)\n[![codecov](https://codecov.io/gh/chrisedg87/flutter_rounded_loading_button/branch/master/graph/badge.svg?token=3HQDMRP8N2)](https://codecov.io/gh/chrisedg87/flutter_rounded_loading_button)\n[![style: effective dart](https://img.shields.io/badge/style-effective_dart-40c4ff.svg)](https://pub.dev/packages/effective_dart)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Awesome Flutter](https://img.shields.io/badge/Awesome-Flutter-blue.svg)](https://github.com/Solido/awesome-flutter)\n\nRoundedLoadingButton is a Flutter package with a simple implementation of an animated loading button, complete with success and error animations.\n\n![](screenshots/loading-button.gif)\n\n## Installation\n\n   Add this to your pubspec.yaml:\n    \n    dependencies:\n        rounded_loading_button: ^2.0.8\n\n## Usage\n\n### Import\n\n    import 'package:rounded_loading_button/rounded_loading_button.dart';\n\n### Simple Implementation\n\n    final RoundedLoadingButtonController _btnController = RoundedLoadingButtonController();\n\n    void _doSomething() async {\n        Timer(Duration(seconds: 3), () {\n            _btnController.success();\n        });\n    }\n\n    RoundedLoadingButton(\n        child: Text('Tap me!', style: TextStyle(color: Colors.white)),\n        controller: _btnController,\n        onPressed: _doSomething,\n    )\n\nThe Rounded Loading Button has many configurable properties, including:\n\n* `duration` - The duration of the button animation\n* `loaderSize` - The size of the CircularProgressIndicator\n* `animateOnTap` -  Whether to trigger the loading animation on the tap event\n* `resetAfterDuration` - Reset the animation after specified duration, defaults to 15 seconds\n* `errorColor` - The color of the button when it is in the error state\n* `successColor` - The color of the button when it is in the success state\n* `successIcon` - The icon for the success state\n* `failedIcon` - The icon for the failed state\n\n\n## Contributions\n\n   All contributions are welcome!\n\n","funding_links":[],"categories":["组件","Dart","Components"],"sub_categories":["UI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisedg87%2Fflutter_rounded_loading_button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisedg87%2Fflutter_rounded_loading_button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisedg87%2Fflutter_rounded_loading_button/lists"}