RotatedBox constructor

const RotatedBox(
  1. {Key key,
  2. @required int quarterTurns,
  3. 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);