setDesktopSizeTo5P5 function

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

set desktop size to iphone 5.5

Implementation

void setDesktopSizeTo5P5({double p = 1}) {
  if (!supportPlatformDesktop) return;
  final Size size = Size(414 / p, 736 / p);
  setDesktopWindowSize(size);
  setDesktopMinWindowSize(size);
  setDesktopMaxWindowSize(size);
}