import 'package:flutter/material.dart'; import 'package:neonime_app/components/splash.dart'; import 'package:flutter/services.dart'; void main() { runApp(NeonimeApp()); } class NeonimeApp extends StatefulWidget { @override _NeonimeAppState createState() => _NeonimeAppState(); } class _NeonimeAppState extends State { var num = 1; @override Widget build(BuildContext context) { SystemChrome.setPreferredOrientations([ DeviceOrientation.portraitUp, DeviceOrientation.portraitDown, ]); return MaterialApp( debugShowCheckedModeBanner: false, home: SplashScreen() ); } }