isPortrait property

bool get isPortrait

Returns true if the orientation is portrait.

Implementation

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