mod: color alpha

`withOpacity` -> `withValues`

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-19 20:21:01 +08:00
parent 45b4f9570b
commit a7ffc3b05f
62 changed files with 193 additions and 164 deletions

View File

@@ -178,7 +178,7 @@ class _LaterPageState extends State<LaterPage> {
StyleString.aspectRatio,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: Colors.black.withOpacity(0.6),
color: Colors.black.withValues(alpha: 0.6),
),
child: SizedBox(
width: 34,
@@ -198,7 +198,7 @@ class _LaterPageState extends State<LaterPage> {
return Theme.of(context)
.colorScheme
.surface
.withOpacity(0.8);
.withValues(alpha: 0.8);
},
),
),