OrientationBuilder constructor Null safety

const OrientationBuilder(
  1. {Key? key,
  2. required OrientationWidgetBuilder builder}
)

Creates an orientation builder.

The builder argument must not be null.

Implementation

const OrientationBuilder({
  super.key,
  required this.builder,
}) : assert(builder != null);