isPortrait property

bool isPortrait

Check if device is on portrait mode

Implementation

bool get isPortrait => orientation == Orientation.portrait;