SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp])
.then((_) {
runApp( MyApp());
});
flutter iOS 安卓 禁止横屏显示
最新推荐文章于 2024-05-13 10:06:55 发布
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp])
.then((_) {
runApp( MyApp());
});