flutter 竖屏 rqfreedom 2019-08-17 458 阅读1分钟 SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]) .then((_) { runApp(new MyApp()); });