orientationLockMode property
Which mode to use when orientation should be locked to landscape or portrait. Default is NONE
Implementation
OrientationLockMode orientationLockMode;
Which mode to use when orientation should be locked to landscape or portrait. Default is NONE
OrientationLockMode orientationLockMode;