isPortrait property

bool get isPortrait

Whether the screen is in portrait orientation.

Implementation

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