Skip to content

Commit

Permalink
feat: change app to dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgomesdev committed Jan 14, 2024
1 parent 553a5d6 commit 08b6234
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,10 @@ class BaseScreen extends StatelessWidget {

@override
Widget build(BuildContext context) {
return const GetMaterialApp(
home: Scaffold(
return GetMaterialApp(
themeMode: ThemeMode.dark,
darkTheme: ThemeData.dark(useMaterial3: true),
home: const Scaffold(
body: ScaffoldMessenger(
child: SafeArea(child: HomeScreen()),
),
Expand Down

0 comments on commit 08b6234

Please sign in to comment.