screenIsPortrait property
bool
screenIsPortrait
Whether the device is in portrait mode.
Implementation
bool get screenIsPortrait => mediaQuery.orientation == Orientation.portrait;
Whether the device is in portrait mode.
bool get screenIsPortrait => mediaQuery.orientation == Orientation.portrait;