isPortrait property

bool get isPortrait

Whether the orientation is portrait.

Implementation

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