Skip to main content

RotatedBox

Overview

Rotates a widget in 90-degree steps. Unlike a transform, the space the widget occupies in the layout rotates with it. Use it for a label turned on its side, for example.

Properties

PropertyDescriptionValuesDefault
quarterTurnsRotates the child widget in 90-degree steps, as many times as the integer you enter. Enter 1 to rotate by 90 degrees, or 2 to rotate by 180 degrees.Integer0