Refactoring + Checkpoint
This commit is contained in:
@@ -23,14 +23,14 @@ class EventStatusBadge extends StatelessWidget {
|
||||
Icon(
|
||||
status == 'fermé' ? Icons.lock : Icons.lock_open,
|
||||
color: status == 'fermé' ? Colors.red : Colors.green,
|
||||
size: 16.0,
|
||||
size: 10.0,
|
||||
),
|
||||
const SizedBox(width: 5),
|
||||
Text(
|
||||
status == 'fermé' ? 'Fermé' : 'Ouvert',
|
||||
style: TextStyle(
|
||||
color: status == 'fermé' ? Colors.red : Colors.green,
|
||||
fontSize: 12,
|
||||
fontSize: 10,
|
||||
fontStyle: FontStyle.italic,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user