fixed deprecated warnings

This commit is contained in:
Marton Kiss
2025-01-31 10:24:37 +01:00
parent 67649cc5fd
commit b5ee1afe05
102 changed files with 755 additions and 557 deletions

View File

@@ -81,7 +81,7 @@ class TickTileState extends State<TickTile> {
fontSize: 15.5,
decoration: isTicked ? TextDecoration.lineThrough : null,
color: isTicked
? AppColors.of(context).text.withOpacity(0.5)
? AppColors.of(context).text.withValues(alpha: 0.5)
: null,
),
),
@@ -97,7 +97,7 @@ class TickTileState extends State<TickTile> {
fontWeight: FontWeight.w500,
fontSize: 12.0,
color: isTicked
? AppColors.of(context).text.withOpacity(0.5)
? AppColors.of(context).text.withValues(alpha: 0.5)
: null,
),
)