rotated method

Widget rotated({
  1. required int quaterTurns,
  2. Key? key,
})

A widget that rotates its child by a integral number of quarter turns.

Implementation

Widget rotated({required int quaterTurns, Key? key}) {
  return RotatedBox(
    key: key,
    quarterTurns: quaterTurns,
    child: this,
  );
}