fixed deprecated warnings
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user