isPortrait top-level property

bool get isPortrait

Returns true if the screen is in portrait orientation.

Equivalent to: PxResponsive().isPortrait

Implementation

bool get isPortrait => PxResponsive().isPortrait;