info.model is not null in Nov, 2024:
Future<bool> isIpad() async { DeviceInfoPlugin deviceInfo = DeviceInfoPlugin(); IosDeviceInfo info = await deviceInfo.iosInfo; if (info.model.toLowerCase().contains("ipad")) { return true; } return false;
}