fix deprecation

This commit is contained in:
Rene Kievits
2025-10-27 18:53:43 +01:00
parent ba82e662f6
commit a7f2dd3255

View File

@@ -44,7 +44,7 @@ class KanjiCard extends StatelessWidget {
Text(
subtitle,
style: theme.textTheme.bodyMedium?.copyWith(
color: fgColor.withOpacity(0.7),
color: fgColor.withValues(alpha: 0.7),
),
textAlign: TextAlign.center,
),