Intégration fonctionnalites V1

This commit is contained in:
bastien
2026-07-04 22:46:14 +02:00
parent bf191d6396
commit 9f352b91d2
25 changed files with 779 additions and 184 deletions
@@ -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'),