RenderRotatedBox constructor

RenderRotatedBox({@required int quarterTurns, RenderBox child })

Creates a rotated render box.

The quarterTurns argument must not be null.

Implementation

RenderRotatedBox({
  @required int quarterTurns,
  RenderBox child
}) : assert(quarterTurns != null),
     _quarterTurns = quarterTurns {
  this.child = child;
}