jello static method
Jello 动画
Implementation
static AnimatedBuilder jello(Animation<double> animation, Widget child) {
return AnimatedBuilder(
animation: animation,
builder: (context, child) {
final skew = sin(animation.value * pi * 4) * 0.02;
return Transform(
transform: Matrix4.skewX(skew),
child: child,
);
},
child: child,
);
}