fix deprecation
This commit is contained in:
@@ -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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user