isLandscape property
bool
get
isLandscape
Returns true if the screen is in landscape orientation (width > height).
Implementation
bool get isLandscape {
Size s = size;
return s.width > s.height;
}
Returns true if the screen is in landscape orientation (width > height).
bool get isLandscape {
Size s = size;
return s.width > s.height;
}