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

@@ -48,7 +48,7 @@ class AbsenceGroupTile extends StatelessWidget {
height: 39.0,
decoration: BoxDecoration(
shape: BoxShape.circle,
color: color.withOpacity(.25),
color: color.withValues(alpha: .25),
),
child: Center(
child: Icon(AbsenceTile.justificationIcon(state),
@@ -76,7 +76,9 @@ class AbsenceGroupTile extends StatelessWidget {
.format(context, weekday: true),
style: TextStyle(
fontWeight: FontWeight.w500,
color: AppColors.of(context).text.withOpacity(0.8)),
color: AppColors.of(context)
.text
.withValues(alpha: 0.8)),
)
: null,
children: absences,