isLandscape property
bool
isLandscape
Whether device is wider than tall or not.
Implementation
bool get isLandscape =>
MediaQuery.of(this).orientation == Orientation.landscape;
Whether device is wider than tall or not.
bool get isLandscape =>
MediaQuery.of(this).orientation == Orientation.landscape;