diff --git a/lib/main.dart b/lib/main.dart index 1ac9af7..221f553 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,5 +1,6 @@ import 'package:flutter/material.dart'; import 'package:neonime_app/components/splash.dart'; +import 'package:flutter/services.dart'; void main() { runApp(NeonimeApp()); @@ -15,6 +16,10 @@ class _NeonimeAppState extends State { @override Widget build(BuildContext context) { + SystemChrome.setPreferredOrientations([ + DeviceOrientation.portraitUp, + DeviceOrientation.portraitDown, + ]); return MaterialApp( debugShowCheckedModeBanner: false, home: SplashScreen()