v2.0.0bouncing_widget
एक विजेट जो आपको किसी विजेट पर बाउंस एनीमेशन जोड़ने की अनुमति देता है।
216लाइक 1.9 हज़ार30-दिन डाउनलोड150Pub अंक
AndroidiOSWebmacOSWindowsLinux
एक विजेट जो आपको किसी विजेट पर बाउंस एनीमेशन जोड़ने की अनुमति देता है।
{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A widget that enables you to add a bouncing animation on a widget.
https://raw.githubusercontent.com/ThomasEcalle/bouncing_widget/master/documentation/gif_bouncing.gif
You just have to encapsulate the widget of your choice with a BouncingWidget.
You may also use a scaleFactor to customize the scaling effect as in the gif example.
Or even customize the animation's duration with the duration parameter (200 milliseconds by default).
BouncingWidget(
duration: Duration(milliseconds: 100),
scaleFactor: 1.5,
onPressed: () {
print("onPressed");
},
child: Text(
"Hello !",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,
fontSize: 35,
),
),
),