isIPad top-level property

bool get isIPad

Implementation

bool get isIPad {
  final deviceInfo = DeviceInfoUtil.deviceInfo;
  if (deviceInfo is IosDeviceInfo) {
    return deviceInfo.utsname.machine.toLowerCase().contains("ipad");
  }
  return false;
}