isLandscape method
Indicates whether the current device info should be in landscape.
This is true only if the device can rotate.
Implementation
bool isLandscape(Orientation orientation) {
return canRotate && orientation == Orientation.landscape;
}