feat: lock screen orientation to up

This commit is contained in:
Yandrik 2024-08-17 14:45:16 +02:00
parent 4638f9db90
commit adb2cecccb

View File

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:lottis_birthday_escaperoom_app/barcode_scanner_window.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';
void main() {
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
runApp(const MyApp());
}