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

Flutter UI Issue Urgent issue on Production #533

Closed ankitmiyan30 closed 7 months ago

ankitmiyan30 commented 7 months ago

Hello Team Out of a sudden, this package has started giving me UI issues on WEB, could you please let me know what needs to be done? Tried on both 3.13.5 and 3.13.9 but no luck. OLD UI

Screenshot 2023-11-13 at 12 23 30 PM

New UI Without any update on anything

Screenshot 2023-11-10 at 7 26 59 PM
juanxcueva commented 7 months ago

Same issue

potikorn commented 7 months ago

I have same issue on flutter version 3.16.0 too. seem like some of property not apply when upgrade. I tried to downgrade to 3.13.9. It's work fine. maybe breaking change version cause the issue. (I testing on android)

dmytrohurskyi commented 7 months ago

I too have similar issue on Android and iOS. After the update to Flutter 3.16.0, the UI dimensions became a bit off (parts that use screen_util)

ankitmiyan30 commented 7 months ago

Got the solution please use version flutter_screenutil 5.7.0 if you are using this in Flutter web until they fix the issue in the latest flutter_screenutil.

Use it like flutter_screenutil 5.7.0 Do not use it like flutter_screenutil ^5.7.0

closing the issue for now.

dmytrohurskyi commented 7 months ago

Hi! Downgrading this lib doesn't solve this issue on mobile at all. All measurements are off.

juanxcueva commented 6 months ago

Also returning flutter_screenutil to 5.7.0 returns the error #477 (Keyboard error)

Den-creator commented 3 months ago

I have the same issue on Android. Latest flutter 3.19.3 + latest package flutter_screenutil: 5.9.0 have the issue. It is weird, as problem happens only when run the app in release mode.