Skip to content

Commit 7b78985

Browse files
committed
Update theme_manager.dart
1 parent e30f0c4 commit 7b78985

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/util/theme_manager.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,16 @@ class ThemeManager {
3939
brightness: brightness,
4040
backgroundColor: backgroundColor,
4141
canvasColor: backgroundSecondary,
42+
primaryColor: primaryColor,
43+
primaryColorDark: Colors.red,
44+
primarySwatch: Colors.red,
4245
colorScheme: ColorScheme.fromSwatch(brightness: brightness).copyWith(
4346
primary: primaryColor,
4447
brightness: brightness,
48+
background: backgroundColor,
49+
4550
),
51+
4652
scaffoldBackgroundColor: backgroundSecondary,
4753
appBarTheme: AppBarTheme(
4854
backgroundColor: backgroundColor,

0 commit comments

Comments
 (0)