Intégration fonctionnalites V1
This commit is contained in:
@@ -215,16 +215,6 @@ class _MachineActionBody extends StatelessWidget {
|
||||
height: 60,
|
||||
child: ElevatedButton.icon(
|
||||
onPressed: canStart && !isStarting ? onStart : null,
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: AppColors.machineAvailable,
|
||||
disabledBackgroundColor: AppColors.machineAvailable.withValues(alpha: 0.4),
|
||||
foregroundColor: Colors.white,
|
||||
disabledForegroundColor: Colors.white70,
|
||||
elevation: canStart ? 2 : 0,
|
||||
shadowColor: AppColors.machineAvailable.withValues(alpha: 0.4),
|
||||
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)),
|
||||
textStyle: const TextStyle(fontSize: 18, fontWeight: FontWeight.w700),
|
||||
),
|
||||
icon: isStarting
|
||||
? const SizedBox(
|
||||
width: 24,
|
||||
@@ -244,10 +234,6 @@ class _MachineActionBody extends StatelessWidget {
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: AppColors.primary,
|
||||
foregroundColor: Colors.white,
|
||||
elevation: 2,
|
||||
shadowColor: AppColors.primary.withValues(alpha: 0.35),
|
||||
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)),
|
||||
textStyle: const TextStyle(fontSize: 17, fontWeight: FontWeight.w600),
|
||||
),
|
||||
icon: const Icon(Icons.event_available_outlined, size: 24),
|
||||
label: const Text('Réserver un créneau'),
|
||||
|
||||
Reference in New Issue
Block a user