We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9146ab commit 51c56f4Copy full SHA for 51c56f4
lib/main.dart
@@ -2,11 +2,15 @@ import 'dart:async';
2
3
import 'package:firebase_core/firebase_core.dart';
4
import 'package:flutter/material.dart';
5
+import 'package:flutter/services.dart';
6
7
import 'app.dart';
8
9
Future<void> main() async {
10
WidgetsFlutterBinding.ensureInitialized();
11
+ SystemChrome.setPreferredOrientations([
12
+ DeviceOrientation.portraitUp, //縦固定
13
+ ]);
14
await Firebase.initializeApp();
15
runApp(MyApp());
16
}
0 commit comments