style: changement des couleurs des carburants (diesel en orange, essence en vert)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user