neonime-app/lib/main.dart

28 lines
No EOL
636 B
Dart

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<NeonimeApp> {
var num = 1;
@override
Widget build(BuildContext context) {
SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,
DeviceOrientation.portraitDown,
]);
return MaterialApp(
debugShowCheckedModeBanner: false,
home: SplashScreen()
);
}
}