chore: migrate to flutter 3.27

This commit is contained in:
lollipopkit
2024-12-14 14:45:04 +08:00
parent 41886be649
commit 867fcbfc0d
8 changed files with 30 additions and 38 deletions

View File

@@ -158,7 +158,7 @@ final class _SystemdPageState extends State<SystemdPage> {
Widget _buildTag(String tag, [Color? color, bool noPad = false]) {
return Container(
decoration: BoxDecoration(
color: color?.withOpacity(0.7) ?? UIs.halfAlpha,
color: color?.withValues(alpha: 0.7) ?? UIs.halfAlpha,
borderRadius: BorderRadius.circular(5),
),
child: Text(tag, style: UIs.text11)