mirror of
https://gitlab.com/moepoi/neonime-app.git
synced 2024-11-21 14:37:13 +01:00
28 lines
No EOL
636 B
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()
|
|
);
|
|
}
|
|
} |