Revert "mod: color alpha"

This reverts commit a7ffc3b05f.
This commit is contained in:
bggRGjQaUbCoE
2024-12-22 10:42:00 +08:00
parent fe2b4f6735
commit a01d54cd80
64 changed files with 168 additions and 210 deletions

View File

@@ -54,7 +54,7 @@ class MenuRow extends StatelessWidget {
{bool selectStatus = false}) {
return Material(
color: selectStatus
? Theme.of(context).highlightColor.withValues(alpha: 0.2)
? Theme.of(context).highlightColor.withOpacity(0.2)
: Colors.transparent,
borderRadius: const BorderRadius.all(Radius.circular(30)),
clipBehavior: Clip.hardEdge,
@@ -70,7 +70,7 @@ class MenuRow extends StatelessWidget {
border: Border.all(
color: selectStatus
? Colors.transparent
: Theme.of(context).highlightColor.withValues(alpha: 0.2),
: Theme.of(context).highlightColor.withOpacity(0.2),
),
),
child: Row(