rotate method

Widget rotate(
  1. int quarterTurns
)

The number of clockwise quarter turns the child should be rotated.

Implementation

Widget rotate(int quarterTurns) {
  return RotatedBox(quarterTurns: quarterTurns, child: this);
}