opt: color

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-14 12:25:42 +08:00
parent b898a78e62
commit bc0914e146
17 changed files with 115 additions and 61 deletions

View File

@@ -227,10 +227,10 @@ class UserPanelController extends GetxController {
},
onLongSelect: (_) {},
bgColor: item['value'] == currentOrderFilterval.value
? Theme.of(context).colorScheme.primaryContainer
? Theme.of(context).colorScheme.secondaryContainer
: null,
textColor: item['value'] == currentOrderFilterval.value
? Theme.of(context).colorScheme.onPrimaryContainer
? Theme.of(context).colorScheme.onSecondaryContainer
: null,
),
)
@@ -261,11 +261,11 @@ class UserPanelController extends GetxController {
},
onLongSelect: (_) {},
bgColor: item['value'] == currentUserTypeFilterval.value
? Theme.of(context).colorScheme.primaryContainer
? Theme.of(context).colorScheme.secondaryContainer
: null,
textColor: item['value'] ==
currentUserTypeFilterval.value
? Theme.of(context).colorScheme.onPrimaryContainer
? Theme.of(context).colorScheme.onSecondaryContainer
: null,
),
)