📅  最后修改于: 2022-03-11 14:48:05.310000             🧑  作者: Mango
void main() {
WidgetsFlutterBinding.ensureInitialized();
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp])
.then((_) {
runApp(new MyApp());
});
}