{"id":13669964,"url":"https://github.com/thangmam/smoothratingbar","last_synced_at":"2026-02-21T02:40:00.143Z","repository":{"id":32947066,"uuid":"147048187","full_name":"thangmam/smoothratingbar","owner":"thangmam","description":"A Smooth rating bar","archived":false,"fork":false,"pushed_at":"2022-06-30T05:15:14.000Z","size":184,"stargazers_count":148,"open_issues_count":24,"forks_count":75,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-27T09:35:02.451Z","etag":null,"topics":["dart","flutter-package","rating-bar","rating-plugin","rating-stars"],"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/thangmam.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}},"created_at":"2018-09-02T02:31:04.000Z","updated_at":"2024-02-13T06:56:56.000Z","dependencies_parsed_at":"2022-08-07T18:30:27.177Z","dependency_job_id":null,"html_url":"https://github.com/thangmam/smoothratingbar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thangmam/smoothratingbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangmam%2Fsmoothratingbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangmam%2Fsmoothratingbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangmam%2Fsmoothratingbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangmam%2Fsmoothratingbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thangmam","download_url":"https://codeload.github.com/thangmam/smoothratingbar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangmam%2Fsmoothratingbar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29671796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"online","status_checked_at":"2026-02-21T02:00:07.432Z","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":["dart","flutter-package","rating-bar","rating-plugin","rating-stars"],"created_at":"2024-08-02T09:00:27.140Z","updated_at":"2026-02-21T02:40:00.122Z","avatar_url":"https://github.com/thangmam.png","language":"Dart","funding_links":["https://www.paypal.me/thangmam"],"categories":["Dart"],"sub_categories":[],"readme":"\nA Star rating with touch and swipe rate enabled\n* Supports replacing default star icons with desired IconData\n* Supports half rate and full rate (1.0 or 0.5)\n* Swipe for incrementing/decrementing rate amount\n* Change star body and boundary colors independently\n* Control size of the star rating\n* Set your desired total Star count\n* Supports click-to-rate\n* Spacing between stars\n\n## Getting Started\n\nIn your flutter project add the dependency:\n```\n    dependencies:\n        ...\n        smooth_star_rating: 1.0.4+2\n```\n\n## Usage example\n``` \nimport 'package:smooth_star_rating/smooth_star_rating.dart'; \n``` \n\n```java \nSmoothStarRating(\n          allowHalfRating: false,\n          onRatingChanged: (v) {\n            rating = v;\n            setState(() {});\n          },\n          starCount: 5,\n          rating: rating,\n          size: 40.0,\n          filledIconData: Icons.blur_off,\n          halfFilledIconData: Icons.blur_on,\n          color: Colors.green,\n          borderColor: Colors.green,\n          spacing:0.0\n        )\n```\n\n## Constructor parameters\n``` \nallowHalfRating                 -   Whether to use whole number for rating(1.0  or 0.5)\nonRatingChanged(int rating)     -   Rating changed callback\nstarCount                       -   The maximum amount of stars\nrating                          -   The current value of rating\nsize                            -   The size of a single star\ncolor                           -   The body color of star\nborderColor                     -   The border color of star\nspacing                         -   Spacing between stars(default is 0.0)\nfilledIconData                  -   Full Rated Icon\nhalfFilledIconData              -   Half Rated Icon\ndefaultIconData                 -   Default Rated Icon\n```\n\n### Screenshots\n\n#### Full Rating\n![alt text](https://raw.githubusercontent.com/thangmam/smoothratingbar/master/screenshots/fullrating.gif \"Full rating\")\n\n#### Half Rating\n\n![alt text](https://raw.githubusercontent.com/thangmam/smoothratingbar/master/screenshots/halfrating.gif  \"Half Rating\")\n\n### MIT LICENSE\n\n### Let me know if you find any bugs/issues.Thanks.\n [\u003cimg src=\"https://camo.githubusercontent.com/d5d24e33e2f4b6fe53987419a21b203c03789a8f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667\"\u003e](https://www.paypal.me/thangmam)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthangmam%2Fsmoothratingbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthangmam%2Fsmoothratingbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthangmam%2Fsmoothratingbar/lists"}