v0.0.4favorite_button
favorite_button एक Flutter लाइब्रेरी है जो आपको एनिमेशन प्रभाव के साथ हृदय और ताराकार पसंदीदा बटन बनाने की अनुमति देती है।
65लाइक 45630-दिन डाउनलोड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 ↗