mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-17 23:56:13 +08:00
reserve btn
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -111,10 +111,12 @@ Widget addWidget(
|
|||||||
return FilledButton.tonal(
|
return FilledButton.tonal(
|
||||||
style: FilledButton.styleFrom(
|
style: FilledButton.styleFrom(
|
||||||
foregroundColor: isReserved
|
foregroundColor: isReserved
|
||||||
? theme.colorScheme.onSurfaceVariant
|
? theme.colorScheme.onSurface
|
||||||
|
.withOpacity(0.38)
|
||||||
: null,
|
: null,
|
||||||
backgroundColor: isReserved
|
backgroundColor: isReserved
|
||||||
? theme.colorScheme.onInverseSurface
|
? theme.colorScheme.onSurface
|
||||||
|
.withOpacity(0.12)
|
||||||
: null,
|
: null,
|
||||||
visualDensity: VisualDensity.compact,
|
visualDensity: VisualDensity.compact,
|
||||||
padding: const EdgeInsets.symmetric(
|
padding: const EdgeInsets.symmetric(
|
||||||
|
|||||||
Reference in New Issue
Block a user