Hello,
I have testing physical device Redmi Note 10 have 6.47" physical screen size and its resolution is about 1080 x 2340 Pixels with approximately 398 PPI pixel density. Xiaomi Mi Note 10 has viewport size 393 x 851 Pixels and its pixel ratio is about 2.75.
but on other emulator it's not affecting any responsiveness and changing this values didn't affect any change in both devices.
I want to design app in my physical device and adapt in all other devices ratio.
Please help what should i use.
Hello, I have testing physical device Redmi Note 10 have 6.47" physical screen size and its resolution is about 1080 x 2340 Pixels with approximately 398 PPI pixel density. Xiaomi Mi Note 10 has viewport size 393 x 851 Pixels and its pixel ratio is about 2.75.
I tried designSize: const Size(393, 851), designSize: const Size(360, 690), deviceSize: const Size(271, 573.5),
but on other emulator it's not affecting any responsiveness and changing this values didn't affect any change in both devices. I want to design app in my physical device and adapt in all other devices ratio. Please help what should i use.
@override Widget build(BuildContext context) { ScreenUtil.init(context); return ScreenUtilInit( designSize: const Size(360, 690), minTextAdapt: true, splitScreenMode: false, builder: (context, child) { return GetMaterialApp(..... )}