v1.0.1yoda
Flutter विजेट जो किसी भी प्रकार के बच्चे विजेट को टाइल के मैट्रिक्स में काटता है और विभिन्न तरीकों से उन्हें एनिमेट करता है। वर्तमान में एक्सप्लोड, वॉर्टेक्स और फ्लेक्स के साथ।
Flutter विजेट जो किसी भी प्रकार के बच्चे विजेट को टाइल के मैट्रिक्स में काटने और उन्हें विभिन्न तरीकों से एनिमेट करने की अनुमति देता है। वर्तमान में एक्सप्लोड, वॉर्टेक्स और फ्लेक्स के साथ काम करता है। सभी प्लेटफॉर्म पर काम करता है।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Flutter widget that let's you slice any kind of child widget in a matrix of tiles and animate them with different kind of ways. Currently with Explode, Vortex and Flakes. Works on all platforms.
If you need to control the animation status:
late YodaController _yodaControllerExplode;
@override
void initState() {
super.initState();
_yodaControllerExplode = YodaController()
..addStatusListener((status) {
if (status == AnimationStatus.completed) {
_yodaControllerExplode.reset();
}
});
}
YodaController accepts start() and reset() methods. Note: calling those methods will not work when a setState() is called at the same time.
Yoda(
yodaEffect: YodaEffect.Explosion,
controller: _yodaControllerExplode,
duration: Duration(milliseconds: 2500),
animParameters: AnimParameters(
yodaBarrier: YodaBarrier(bottom: true, left: true, right: true),
fractionalCenter: Offset(0.5, 1.0),
hTiles: 20,
vTiles: 20,
effectPower: 0.2,
blurPower: 5,
gravity: 0.1,
randomness: 30,
),
startWhenTapped: true,
child: SizedBox(
width: 250,
height: 180,
child: Image.asset('assets/dash.png', fit: BoxFit.fill)
)
)
निर्भरता सूची 2 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗