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