feat: lock screen orientation to up
This commit is contained in:
parent
4638f9db90
commit
adb2cecccb
@ -1,4 +1,5 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter/services.dart';
|
||||||
import 'package:get/get.dart';
|
import 'package:get/get.dart';
|
||||||
import 'package:lottis_birthday_escaperoom_app/barcode_scanner_window.dart';
|
import 'package:lottis_birthday_escaperoom_app/barcode_scanner_window.dart';
|
||||||
import 'package:lottis_birthday_escaperoom_app/controller/gamecontroller.dart';
|
import 'package:lottis_birthday_escaperoom_app/controller/gamecontroller.dart';
|
||||||
@ -7,6 +8,7 @@ import 'package:lottis_birthday_escaperoom_app/mobile_scanner_overlay.dart';
|
|||||||
import 'package:lottis_birthday_escaperoom_app/screens/marker.dart';
|
import 'package:lottis_birthday_escaperoom_app/screens/marker.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
|
||||||
runApp(const MyApp());
|
runApp(const MyApp());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user