isPortrait property

bool get isPortrait

Whether in portrait or not.

Implementation

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