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

Landscape size is not correct? #444

Closed rajesh2701 closed 1 year ago

rajesh2701 commented 1 year ago

I ran a sample device width and height checking for Portrait and Landscape mode in build(BuildContext context) {} on Oneplus 6T device and here is the output.

PORTRAIT Device Height: 784.0 Device Width: 384.0

LANDSCAPE Device Height: 384.0 Device Width: 755.5555555555555

Onscreen navigation buttons were turned on. How to calculate it?

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.

lizhuoyuan commented 1 year ago

Will consider the height of the status bar