isPortraitMode property

bool get isPortraitMode

Whether the device is mounted in portrait orientation.

Returns

  • bool: True if mounted in portrait mode, false otherwise.

Implementation

bool get isPortraitMode;