feat: Enhance container management UI with new management components and improved QR code generation flow

This commit is contained in:
ElPoyo
2025-10-30 20:06:13 +01:00
parent 6abb8f1d14
commit e59e3e6316
11 changed files with 815 additions and 485 deletions

View File

@@ -0,0 +1,38 @@
import 'package:flutter/material.dart';
/// Widget réutilisable pour afficher un état vide dans les listes de gestion
class ManagementEmptyState extends StatelessWidget {
final IconData icon;
final String message;
const ManagementEmptyState({
super.key,
required this.icon,
required this.message,
});
@override
Widget build(BuildContext context) {
return Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
icon,
size: 80,
color: Colors.grey.shade400,
),
const SizedBox(height: 16),
Text(
message,
style: TextStyle(
fontSize: 18,
color: Colors.grey.shade600,
),
),
],
),
);
}
}