This commit is contained in:
wgh19
2024-05-15 16:39:13 +08:00
parent 94b54aad15
commit 6fe2e73fac
2 changed files with 8 additions and 4 deletions

View File

@@ -30,11 +30,11 @@ class ToastOverlay extends StatelessWidget {
child: Align(
alignment: Alignment.bottomCenter,
child: PhysicalModel(
color: ColorScheme.of(context).surface.withOpacity(1),
color: FluentTheme.of(context).cardColor.withOpacity(1),
borderRadius: BorderRadius.circular(4),
elevation: 1,
child: Container(
padding: const EdgeInsets.symmetric(vertical: 6, horizontal: 16),
padding: const EdgeInsets.symmetric(vertical: 4, horizontal: 16),
child: Row(
mainAxisSize: MainAxisSize.min,
children: [