isOrientationInPortraitMode function
Returns true
if device orientation is in Portrait mode.
Implementation
bool isOrientationInPortraitMode() {
return !isOrientationInLandscapeMode();
}
Returns true
if device orientation is in Portrait mode.
bool isOrientationInPortraitMode() {
return !isOrientationInLandscapeMode();
}