Rotates by scale radians. arrow.rotate(pi / 2)
scale
arrow.rotate(pi / 2)
Widget rotate(double scale) => Transform.rotate(angle: scale, child: this);