Set fixed screen orientation to 'portrait up'
This commit is contained in:
1 parent
f31f667fd9
commit
1dfebed83e
3 files changed
+301
-299
No files matched your search
@@ -63,6 +63,8 @@ class _MainState extends State<Main> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
|
||||
|
||||
return MaterialApp(
|
||||
debugShowCheckedModeBanner: false,
|
||||
|
||||
|
||||
Reference in new issue
Block a user