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

@@ -34,7 +34,7 @@ class Empty extends StatelessWidget {
style: TextStyle(
fontSize: 32.0,
fontWeight: FontWeight.w500,
color: AppColors.of(context).text.withOpacity(.75)),
color: AppColors.of(context).text.withValues(alpha: .75)),
children: subtitle != null
? [
TextSpan(
@@ -42,7 +42,9 @@ class Empty extends StatelessWidget {
style: TextStyle(
fontSize: 18.0,
height: 2.0,
color: AppColors.of(context).text.withOpacity(.5)))
color: AppColors.of(context)
.text
.withValues(alpha: .5)))
]
: [],
),