Set fixed screen orientation to 'portrait up'

This commit is contained in:
2023-02-27 08:18:07 +01:00
parent f31f667fd9
commit 1dfebed83e
3 changed files with 301 additions and 299 deletions

View File

@ -63,6 +63,8 @@ class _MainState extends State<Main> {
@override
Widget build(BuildContext context) {
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
return MaterialApp(
debugShowCheckedModeBanner: false,