theme and language

This commit is contained in:
wgh19
2024-05-16 15:17:45 +08:00
parent 6e7e029a0d
commit 8c57dd30fb
7 changed files with 111 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ class ToastOverlay extends StatelessWidget {
child: Align(
alignment: Alignment.bottomCenter,
child: PhysicalModel(
color: FluentTheme.of(context).cardColor.withOpacity(0),
color: ColorScheme.of(context).surface.withOpacity(1),
borderRadius: BorderRadius.circular(4),
elevation: 1,
child: Container(