{"id":22976508,"url":"https://github.com/eperedo/osom_rating","last_synced_at":"2026-05-16T13:02:46.423Z","repository":{"id":56836155,"uuid":"165532793","full_name":"eperedo/osom_rating","owner":"eperedo","description":"the most fun way to get a rating component for your flutter apps","archived":false,"fork":false,"pushed_at":"2019-01-14T02:49:23.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-02T08:22:04.400Z","etag":null,"topics":["docute","flutter","rating-stars"],"latest_commit_sha":null,"homepage":"https://osomrating.netlify.com","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/eperedo.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":"2019-01-13T17:18:36.000Z","updated_at":"2023-09-08T17:49:15.000Z","dependencies_parsed_at":"2022-09-13T08:42:15.819Z","dependency_job_id":null,"html_url":"https://github.com/eperedo/osom_rating","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eperedo/osom_rating","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eperedo%2Fosom_rating","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eperedo%2Fosom_rating/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eperedo%2Fosom_rating/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eperedo%2Fosom_rating/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eperedo","download_url":"https://codeload.github.com/eperedo/osom_rating/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eperedo%2Fosom_rating/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33103970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docute","flutter","rating-stars"],"created_at":"2024-12-15T00:51:55.450Z","updated_at":"2026-05-16T13:02:46.406Z","avatar_url":"https://github.com/eperedo.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osom_rating\n\nthe most fun way to get a rating component for your flutter apps\n\n![osom](https://user-images.githubusercontent.com/461124/51090657-3758d500-174d-11e9-9d49-1798960dc2b0.gif)\n\n### Installing\n\nAdd the osom_rating to your pubspec.yaml file\n\n```yaml\ndependencies:\n  osom_rating: 0.0.3\n```\n\nthen install the package using the get command\n\n```bash\nflutter packages get\n```\n\n### Usage\n\nimport it inside your app\n\n```dart\nimport 'package:osom_rating/osom_rating.dart';\n```\n\nthen create a new instance of the component\n\n```dart\n// by default it will generate five stars\nOsomRating();\n```\n\n### Options\n\n| Parameter          | Default       | Description                                                                                                    |\n| ------------------ | ------------- | -------------------------------------------------------------------------------------------------------------- |\n| `rating`           | 0             | the rating value                                                                                               |\n| `totalStars`       | 5             | the quantity of stars to generate                                                                              |\n| `colorStar`        | Colors.yellow | the color of the full star                                                                                     |\n| `colorEmptyStar`   | Colors.black  | the color of the empty star                                                                                    |\n| `sizeStar`         | 60            | the size of the stars                                                                                          |\n| `minimunHalfValue` | 5             | the decimal part to considered a star as a half value. 5 means any x.5 value will be considered as a half star |\n\n### Events\n\n| Event            | Param               |\n| ---------------- | ------------------- |\n| `onTapped`       | current index value |\n| `onDoubleTapped` | none                |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feperedo%2Fosom_rating","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feperedo%2Fosom_rating","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feperedo%2Fosom_rating/lists"}