isIpad method

Future<bool> isIpad()

Implementation

Future<bool> isIpad() async {
  if(kIsWeb) {return false;}
  if(Platform.isIOS) {
    final deviceInfo = await DeviceInfoPlugin().iosInfo;
    if (deviceInfo.model.toLowerCase().contains("ipad")) {
      return true;
    }
  }
  return false;
}