setDesktopSizeTo4P7 function
set desktop size to iphone 4.7
Implementation
void setDesktopSizeTo4P7({double p = 1}) {
if (!supportPlatformDesktop) return;
final Size size = Size(375 / p, 667 / p);
setDesktopWindowSize(size);
setDesktopMinWindowSize(size);
setDesktopMaxWindowSize(size);
}