neonime-app/lib/main.dart

28 lines
636 B
Dart
Raw Permalink Normal View History

2020-08-11 14:01:26 +02:00
import 'package:flutter/material.dart';
import 'package:neonime_app/components/splash.dart';
2020-09-07 18:02:59 +02:00
import 'package:flutter/services.dart';
2020-08-11 14:01:26 +02:00
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) {
2020-09-07 18:02:59 +02:00
SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,
DeviceOrientation.portraitDown,
]);
2020-08-11 14:01:26 +02:00
return MaterialApp(
debugShowCheckedModeBanner: false,
home: SplashScreen()
);
}
}