isPortrait property

bool get isPortrait

Check if screen is portrait

Implementation

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