From c7459724d5d3992b912a2cf729ee4ab4967b70d1 Mon Sep 17 00:00:00 2001 From: Moe Date: Thu, 12 May 2022 22:10:36 +0700 Subject: [PATCH] Update main --- lib/main.dart | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 115536d..1a340b5 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -9,13 +9,19 @@ void main() { WidgetsFlutterBinding.ensureInitialized(); SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]) .then((_) { - runApp(const MyApp()); + runApp(const Nekoya()); }); } -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); +class Nekoya extends StatefulWidget { + const Nekoya({Key? key}) : super(key: key); + @override + State createState() => _NekoyaState(); +} + +class _NekoyaState extends State { + @override Widget build(BuildContext context) { return MaterialApp(