OpenFlutter / flutter_screenutil

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

Replace window.viewConfiguration.geometry to window.physicalGeometry #464

Closed dmakeev closed 1 year ago

dmakeev commented 1 year ago

FlutterView.viewConfiguration is removed in the actual Flutter version (3.9.0-1.0.pre.48) and shouldn't be used:

Discussion: https://github.com/flutter/flutter/issues/121742#issuecomment-1452157893 MR: https://github.com/flutter/engine/pull/40012

zhushenwudi commented 1 year ago

@lizhuoyuan please merge this

lizhuoyuan commented 1 year ago

fixed #463