OpenFlutter / flutter_screenutil

Flutter screen adaptation, font adaptation, get screen information
https://pub.dartlang.org/packages/flutter_screenutil
Apache License 2.0
3.87k stars 493 forks source link

如何取消适配 #459

Closed joker-fu closed 1 year ago

joker-fu commented 1 year ago

如题,在某些设备上不需要使用适配。没有找到相应的方法

joker-fu commented 1 year ago

我目前使用 MediaQuery.of(context).size 获取的尺寸作为设计图尺寸传入

lizhuoyuan commented 1 year ago

那要看你不需要的设备有哪些共性, 然后排除了. 暂时没有想到更好的方法

xuxu5112 commented 1 year ago

包一下,需要适配的直接调用,不需要适配的,使用到的属性都 * 1。

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.