reserve btn

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-14 17:58:43 +08:00
parent 69f9fb398f
commit 553be52260

View File

@@ -111,10 +111,12 @@ Widget addWidget(
return FilledButton.tonal(
style: FilledButton.styleFrom(
foregroundColor: isReserved
? theme.colorScheme.onSurfaceVariant
? theme.colorScheme.onSurface
.withOpacity(0.38)
: null,
backgroundColor: isReserved
? theme.colorScheme.onInverseSurface
? theme.colorScheme.onSurface
.withOpacity(0.12)
: null,
visualDensity: VisualDensity.compact,
padding: const EdgeInsets.symmetric(