isDevicePortrait property

bool isDevicePortrait

isDevicePortrait is helpful if you want to know whether the device orientation is in Portrait or in Landscape, it can ably to any device (Tablet or Mobil Phone).

Implementation

bool get isDevicePortrait => _isPortrait;