fallingDot static method

Widget fallingDot({
  1. required Color color,
  2. required double size,
  3. Key? key,
})

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,
  );
}