triangleOrbit static method

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

Three balls at each vertice of an equilateral triangle moves to the center while rotating and then again go back to origianl position. Required color is applied to all balls.

Implementation

static Widget triangleOrbit({
  required Color color,
  required double size,
  Key? key,
}) {
  return TriangleOrbit(color: color, size: size, key: key);
}