setDesktopSizeToIPad10P5 function

void setDesktopSizeToIPad10P5({
  1. double p = 1,
})

set desktop size to ipad 10.5

Implementation

void setDesktopSizeToIPad10P5({double p = 1}) {
  if (!supportPlatformDesktop) return;
  final Size size = Size(834 / p, 1112 / p);
  setDesktopWindowSize(size);
  setDesktopMinWindowSize(size);
  setDesktopMaxWindowSize(size);
}