fallingDot static method
A ball falls inside a ring cut out when face up and falls when face down. Required color is applied to the ring and dot.
Implementation
static Widget fallingDot({
required Color color,
required double size,
Key? key,
}) {
return FallingDot(
color: color,
size: size,
key: key,
);
}