Add a dark theme.

This commit is contained in:
2025-02-07 04:54:59 -07:00
parent 0f65166123
commit 631555af59
2 changed files with 15 additions and 5 deletions
+6
View File
@@ -25,6 +25,12 @@ class MainApp extends StatelessWidget {
useMaterial3: true,
colorScheme: ColorScheme.fromSeed(seedColor: Colors.green),
),
darkTheme: ThemeData(
useMaterial3: true,
brightness: Brightness.dark,
colorSchemeSeed: Colors.green,
),
themeMode: ThemeMode.system,
home: HomePage(),
);
}