RotatedBox constructor

const RotatedBox({Key key, @required int quarterTurns, Widget child })

A widget that rotates its child.

The quarterTurns argument must not be null.

Implementation

const RotatedBox({
  Key key,
  @required this.quarterTurns,
  Widget child,
}) : assert(quarterTurns != null),
     super(key: key, child: child);