📜  仅颤振肖像 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:11.880000             🧑  作者: Mango

代码示例3
void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp])
    .then((_) {
      runApp(new MyApp());
    });
}