fix remote menubar theme

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-03-11 19:29:26 +08:00
parent fc9b2d60e3
commit fc8e3df7dc
2 changed files with 23 additions and 4 deletions

View File

@@ -252,6 +252,9 @@ class MyTheme {
),
),
),
menuBarTheme: MenuBarThemeData(
style:
MenuStyle(backgroundColor: MaterialStatePropertyAll(Colors.white))),
colorScheme: ColorScheme.light(
primary: Colors.blue, secondary: accent, background: grayBg),
).copyWith(
@@ -352,6 +355,9 @@ class MyTheme {
),
),
),
menuBarTheme: MenuBarThemeData(
style: MenuStyle(
backgroundColor: MaterialStatePropertyAll(Color(0xFF121212)))),
colorScheme: ColorScheme.dark(
primary: Colors.blue,
secondary: accent,