RotatedBox constructor Null safety

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({
  super.key,
  required this.quarterTurns,
  super.child,
}) : assert(quarterTurns != null);