flutter强制横屏竖屏设置

void main(){ // 强制横屏 SystemChrome.setPreferredOrientations([ DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight ]); runApp(new MyApp()); } void main(){ // 强制竖屏 Syst
相关文章
相关标签/搜索