fix: corrections build - _showOverlay supprime, passageDate Ulys ajoute, withValues deprecation

This commit is contained in:
ElPoyo
2026-06-04 14:32:03 +02:00
parent e14b333a67
commit 1bf5c8061f
6 changed files with 30 additions and 14 deletions
@@ -199,7 +199,7 @@ class _DepotManagementState extends State<DepotManagement> {
final d = depots[i];
return ListTile(
leading: CircleAvatar(
backgroundColor: AppColors.rouge.withOpacity(0.1),
backgroundColor: AppColors.rouge.withValues(alpha: 0.1),
child: Icon(Icons.warehouse_outlined, color: AppColors.rouge),
),
title: Text(d.name,
@@ -83,7 +83,7 @@ class _FuelPricesManagementState extends State<FuelPricesManagement> {
return Row(
children: [
CircleAvatar(
backgroundColor: color.withOpacity(0.1),
backgroundColor: color.withValues(alpha: 0.1),
child: Icon(icon, color: color),
),
const SizedBox(width: 16),