OpenFlutter / flutter_screenutil

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

Lib doesn't work starting from Flutter 3.16 on mobile: all screen util values became invalid #541

Closed dmytrohurskyi closed 3 months ago

dmytrohurskyi commented 7 months ago

533 was closed, but for mobile platforms the issue hasn't been resolved. Users suffer from UI being shifted, because suddenly the values that library gives after flutter update are different from what they should be.

Please look at this issue!

juanxcueva commented 6 months ago

I have same issue on flutter version 3.16.0 too

lizhuoyuan commented 6 months ago

I am running on flutter 3.16.5 and no problem is found. Try using 3.16.5 and tell me the result. Thank you

dmytrohurskyi commented 5 months ago

@lizhuoyuan the issue persists on 3.16.5. Values calculated by the library seem to have changed after the 3.16 update and still not resolved. For example, what previously was 50.w now looks like 35.w

FullstackWEB-developer commented 5 months ago

I think this is due to new features in flutter 3.16 https://docs.flutter.dev/release/breaking-changes/android-14-nonlinear-text-scaling-migration

github-actions[bot] commented 4 months ago

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

github-actions[bot] commented 3 months ago

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