ZEGOCLOUD / zego_uikit_prebuilt_live_streaming_flutter

MIT License
5 stars 7 forks source link

flutter screenutil #6

Closed MozafarAlali93 closed 1 year ago

MozafarAlali93 commented 1 year ago

There is a problem if you use flutter_screenutil in your application. When you use this package, all dimensions in the application become incorrect.

yoer commented 1 year ago

you can set your appDesignSize in ZegoUIKitPrebuiltLiveStreaming

Aliabbas-creator commented 1 year ago

use methods of screenutils().setwidth(10)

MozafarAlali93 commented 1 year ago

you can set your appDesignSize in ZegoUIKitPrebuiltLiveStreaming

I tried this method. but it didn't work and LiveStreaming page Design incorrect

MozafarAlali93 commented 1 year ago

use methods of screenutils().setwidth(10)

Where should I add this code?

yoer commented 1 year ago

This has been fixed in the latest version

yoer commented 1 year ago
  1. please update the newest sdk version: 2.4.1
  2. we have brought "flutter_screenutil_zego" and don't depend on the old "flutter_screenutil" library. Avoided the UI resizing issue caused by the memory sharing of the flutter_screenutil single instance's design size from the root.