diff --git a/lib/main.dart b/lib/main.dart index 2a6d530..be89850 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -12,6 +12,8 @@ class MyApp extends StatelessWidget { return MaterialApp( title: 'Flutter Demo', debugShowCheckedModeBanner: false, + // theme:ThemeSwitcher.of(context).isDarkModeOn?darkTheme(context):lightTheme(context), + //you can also add black and white backgroup swtiching <3 theme: ThemeData( primarySwatch: Colors.blue, textTheme: TextTheme(title: TextStyle(color: Colors.black)),