v0.0.4favorite_button
favorite_button은 애니메이션 효과가 있는 하트형 및 별 모양의 즐겨찾기 버튼을 생성할 수 있는 플러터 라이브러리입니다.
65좋아요 32730일 다운로드150Pub 점수
AndroidiOSWebmacOSWindowsLinux
즐겨찾기 버튼은 애니메이션 효과를 갖춘 하트형 및 별 모양의 즐겨찾기 기능 버튼을 만들 수 있는 플러터 라이브러리입니다
아래는 영문 원문 스냅샷입니다. 최신 내용은 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 ↗