buildCircle method

Widget buildCircle(
  1. CircleInfo circle
)

Creates each item

Implementation

Widget buildCircle(CircleInfo circle) => Align(
      ///Alignment in the screen
      alignment: circle.alignment,
      child: RotationTransition(
        ///Turns with the class [RotationTransition]
        turns: AlwaysStoppedAnimation(circle.turns),
        child: Container(
          decoration: BoxDecoration(
            borderRadius: circle.borderRadius,

            ///Color or gradient must of them must be null
            gradient: circle.gradient,
            color: circle.color,
          ),

          ///The width and the height of the item can be over the screen size
          width: circle.size.width,
          height: circle.size.height,
        ),
      ),
    );