rotate60 method

Widget rotate60({
  1. Key? key,
})

Extension method to rotate any widget by 60 degrees without wrapping or with dot operator.

Implementation

Widget rotate60({Key? key}) => Transform.rotate(
      key: key,
      angle: math.pi / 3,
      child: this,
    );