twistOrbit static method

Widget twistOrbit({
  1. required Color leftDotColor,
  2. required Color rightDotColor,
  3. required double size,
  4. Key? key,
})

Three dots 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 dots.

Implementation

static Widget twistOrbit({
  required Color leftDotColor,
  required Color rightDotColor,
  required double size,
  Key? key,
}) {
  return TwistOrbit(
    leftDotColor: leftDotColor,
    rightDotColor: rightDotColor,
    size: size,
    key: key,
  );
}