style: changement des couleurs des carburants (diesel en orange, essence en vert)

This commit is contained in:
ElPoyo
2026-06-04 14:55:01 +02:00
parent 1d825c0233
commit d52d40ad74
@@ -251,9 +251,9 @@ class _VehiclesManagementState extends State<VehiclesManagement> {
case 'Electrique':
return const Icon(Icons.electric_bolt, color: Colors.amber);
case 'Essence':
return const Icon(Icons.local_gas_station, color: Colors.orange);
return const Icon(Icons.local_gas_station, color: Colors.green);
default:
return const Icon(Icons.local_gas_station, color: Colors.blue);
return const Icon(Icons.local_gas_station, color: Colors.orange);
}
}
@@ -351,8 +351,8 @@ class _VehiclesManagementState extends State<VehiclesManagement> {
backgroundColor: v.fuelType == 'Electrique'
? Colors.amber[50]
: v.fuelType == 'Essence'
? Colors.orange[50]
: Colors.blue[50],
? Colors.green[50]
: Colors.orange[50],
side: BorderSide.none,
),
IconButton(