isPortrait property
bool
isPortrait
Whether it is portrait in full-screen.
Implementation
bool get isPortrait => orientations.any(
(DeviceOrientation e) =>
e == DeviceOrientation.portraitUp ||
e == DeviceOrientation.portraitDown,
);