OpenFlutter / flutter_screenutil

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

set height not work as expected #424

Closed heshesh2010 closed 2 years ago

heshesh2010 commented 2 years ago

Hi , my screen size from adobe xd is

designSize: Size(375, 812),

when i set Container height to height: 250.w it works ok , but when i set it to 250.h i got stackoverflow error A RenderFlex overflowed by 10 pixels on the bottom.

lizhuoyuan commented 2 years ago

Generally speaking 250.h>250.w, if the size is not enough, there will be overflow

heshesh2010 commented 2 years ago

I didn't get it.. XD design says I should use height not width and I see the content is still got overflow and I use same content as xd

On Wed, 14 Sept 2022, 10:14 am LiZhuoyuan, @.***> wrote:

Closed #424 https://github.com/OpenFlutter/flutter_screenutil/issues/424 as completed.

— Reply to this email directly, view it on GitHub https://github.com/OpenFlutter/flutter_screenutil/issues/424#event-7383319047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5CGUUJ5S5YPIIYJTOKK23V6GCOFANCNFSM6AAAAAAQLV5IIY . You are receiving this because you authored the thread.Message ID: @.*** com>