rotated method

Widget rotated(
  1. double turns
)

Rotate by turns (1 = full 360 deg).

Implementation

Widget rotated(double turns) =>
    Transform.rotate(angle: turns * 2 * math.pi, child: this);