{"id":18850989,"url":"https://github.com/teatalkinternal/favorite_button","last_synced_at":"2025-04-14T09:51:40.462Z","repository":{"id":52227094,"uuid":"292611996","full_name":"TeaTalkInternal/favorite_button","owner":"TeaTalkInternal","description":"Favorite Button is a flutter library that allows you to create heart and star shaped favorite featured buttons with animation effects too","archived":false,"fork":false,"pushed_at":"2021-05-04T12:51:36.000Z","size":75,"stargazers_count":12,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T23:11:13.558Z","etag":null,"topics":["dart","flutter","flutter-examples","flutter-library","hacktoberfest","hacktoberfest-accepted","heart","open-source","pub-package"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/favorite_button","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/TeaTalkInternal.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":"2020-09-03T15:41:45.000Z","updated_at":"2023-03-04T04:32:43.000Z","dependencies_parsed_at":"2022-08-26T13:50:57.342Z","dependency_job_id":null,"html_url":"https://github.com/TeaTalkInternal/favorite_button","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeaTalkInternal%2Ffavorite_button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeaTalkInternal%2Ffavorite_button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeaTalkInternal%2Ffavorite_button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeaTalkInternal%2Ffavorite_button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TeaTalkInternal","download_url":"https://codeload.github.com/TeaTalkInternal/favorite_button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248859657,"owners_count":21173337,"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":["dart","flutter","flutter-examples","flutter-library","hacktoberfest","hacktoberfest-accepted","heart","open-source","pub-package"],"created_at":"2024-11-08T03:32:57.064Z","updated_at":"2025-04-14T09:51:40.415Z","avatar_url":"https://github.com/TeaTalkInternal.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# favorite_button\n\nLanguage: [English](README.md)\n\nFavorite Button is a flutter library that allows you to create heart and star shaped favorite featured buttons with animation effects too.\n\n![](https://github.com/TeaTalkInternal/github_assets/blob/master/gifs/video-to-gif-converter.gif)\n\n- [favorite_button](#favoritebutton)\n  - [How to use it.](#how-to-use-it)\n  - [parameters](#parameters)\n\n##  How to use it.\n\nthe default effects is Icons.favorite\n```dart\n  FavoriteButton(\n            valueChanged: (_) {\n            },\n          ),\n```\n\nand you can also define custom effects.\n```dart\n FavoriteButton(\n            valueChanged: (_isFavorite) {\n              print('Is Favorite $_isFavorite)');\n            },\n          )\n```\n\n\n## parameters\n\n| parameter                  | description                                                                           | default                                                                                                                                                                               |\n| -------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| iconSize                       | size of button widget                                                                   | 60.0                                                                                                                                                                                  |\n| iconColor          | color of button widget                                            | red for heart and yellow for star button respectively                                                                                                                                                    |\n| valueChanged                | Function that returns boolean value for current state of button                                                                 | This is a required parameter                                                                                                                                                                            |\n| isFavorite or isStarred                | Default state of button                                                                 | This is a optional parameter                                                                                                                                                                            |\n                                                                                                                                                               |\n\n[more detail](https://github.com/TeaTalkInternal/favorite_button/tree/master/example/lib)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteatalkinternal%2Ffavorite_button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteatalkinternal%2Ffavorite_button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteatalkinternal%2Ffavorite_button/lists"}