v0.0.4favorite_button
favorite_button は、アニメーション効果付きのハート型および星型のお気に入りボタンを作成できるFlutterライブラリです。
65いいね 45630日間ダウンロード150Pub ポイント
AndroidiOSWebmacOSWindowsLinux
お気に入りボタンは、アニメーション効果付きのハート型および星型のお気に入りボタンを作成できるFlutterライブラリです
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Language: English
Favorite Button is a flutter library that allows you to create heart and star shaped favorite featured buttons with animation effects too.
the default effects is Icons.favorite
FavoriteButton(
valueChanged: (_) {
},
),
and you can also define custom effects.
FavoriteButton(
valueChanged: (_isFavorite) {
print('Is Favorite $_isFavorite)');
},
)
| parameter | description | default |
|---|---|---|
| iconSize | size of button widget | 60.0 |
| iconColor | color of button widget | red for heart and yellow for star button respectively |
| valueChanged | Function that returns boolean value for current state of button | This is a required parameter |
| isFavorite or isStarred | Default state of button | This is a optional parameter |
|
依存関係一覧 2 件
{"sdk":"flutter"}{"sdk":"flutter"}用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗