isPortrait property

bool get isPortrait

是否竖屏

Implementation

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