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

@@ -23,7 +23,7 @@ class MissedExamTile extends StatelessWidget {
height: 36,
child: Icon(
FeatherIcons.slash,
color: AppColors.of(context).red.withOpacity(.75),
color: AppColors.of(context).red.withValues(alpha: .75),
size: 28.0,
)),
title: Text("missed_exams"

View File

@@ -50,7 +50,7 @@ class MissedExamViewTile extends StatelessWidget {
leading: Icon(
SubjectIcon.resolveVariant(
subject: lesson.subject, context: context),
color: AppColors.of(context).text.withOpacity(.8),
color: AppColors.of(context).text.withValues(alpha: .8),
size: 32.0,
),
title: Text(