LockOrientation constructor

const LockOrientation({
  1. required Widget child,
  2. Key? key,
})

Creates a LockOrientation widget.

The child parameter is required and represents the widget that will be displayed within the locked orientation.

Implementation

const LockOrientation({required this.child, Key? key}) : super(key: key);