isRotated static method
Implementation
static bool isRotated(DeviceInfo? info, Orientation orientation) {
return info != null &&
info.canRotate &&
orientation == Orientation.landscape;
}
static bool isRotated(DeviceInfo? info, Orientation orientation) {
return info != null &&
info.canRotate &&
orientation == Orientation.landscape;
}