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

@@ -131,7 +131,7 @@ class _AtMePageState extends State<AtMePage> {
indent: 72,
endIndent: 20,
height: 6,
color: Colors.grey.withOpacity(0.1),
color: Colors.grey.withValues(alpha: 0.1),
);
},
);

View File

@@ -198,7 +198,7 @@ class LikeMeList extends StatelessWidget {
indent: 72,
endIndent: 20,
height: 6,
color: Colors.grey.withOpacity(0.1),
color: Colors.grey.withValues(alpha: 0.1),
);
},
);

View File

@@ -144,7 +144,7 @@ class _ReplyMePageState extends State<ReplyMePage> {
indent: 72,
endIndent: 20,
height: 6,
color: Colors.grey.withOpacity(0.1),
color: Colors.grey.withValues(alpha: 0.1),
);
},
);

View File

@@ -127,7 +127,7 @@ class _SysMsgPageState extends State<SysMsgPage> {
color: Theme.of(context)
.colorScheme
.onSurface
.withOpacity(0.85),
.withValues(alpha: 0.85),
),
),
const SizedBox(height: 5),
@@ -156,7 +156,7 @@ class _SysMsgPageState extends State<SysMsgPage> {
indent: 72,
endIndent: 20,
height: 6,
color: Colors.grey.withOpacity(0.1),
color: Colors.grey.withValues(alpha: 0.1),
);
},
);