From 08ba4f641490c0769452abe52c1394f7abe4dc83 Mon Sep 17 00:00:00 2001 From: sinasystem Date: Mon, 6 Jun 2022 19:15:05 +0430 Subject: [PATCH] Remove redundant piece of code --- lib/main.dart | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 195df05..6f4d1ac 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -11,19 +11,9 @@ class MyApp extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, - home: const MyHomePage(), + home: const IntroScreen(), theme: AppTheme.lightTheme, ); } } -class MyHomePage extends StatelessWidget { - const MyHomePage({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return const Scaffold( - body: IntroScreen(), - ); - } -}