menubar dark theme elevation

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-03-15 16:57:24 +08:00
parent 1a5a358656
commit 8de35f55aa
2 changed files with 20 additions and 9 deletions

View File

@@ -372,6 +372,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
offstage: _dragging.isTrue,
child: Material(
elevation: _MenubarTheme.elevation,
shadowColor: MyTheme.color(context).shadow,
child: _DraggableShowHide(
dragging: _dragging,
fractionX: _fractionX,
@@ -412,6 +413,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
children: [
Material(
elevation: _MenubarTheme.elevation,
shadowColor: MyTheme.color(context).shadow,
borderRadius: BorderRadius.all(Radius.circular(4.0)),
color: Theme.of(context)
.menuBarTheme