bouncingBall static method
A ball fall from top and bounce back Required color is applied to the ball.
Implementation
static Widget bouncingBall({
required Color color,
required double size,
Key? key,
}) {
return BouncingBall(
color: color,
size: size,
key: key,
);
}