rotate method

Widget rotate(
  1. double scale
)

Rotates by scale radians. arrow.rotate(pi / 2)

Implementation

Widget rotate(double scale) => Transform.rotate(angle: scale, child: this);