isPortrait property

bool get isPortrait

Return true if current orientation is portrait

Implementation

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