Browse Source

margin

master
Stephane 4 months ago
parent
commit
d0687aa924
  1. 31
      lib/pages/tables.dart

31
lib/pages/tables.dart

@ -390,17 +390,6 @@ class _TablesScreenState extends State<TablesScreen> {
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Row(
children: [
Text(
table.nom,
style: const TextStyle(
fontWeight: FontWeight.w600,
fontSize: 16,
color: Colors.black87,
),
),
// const Spacer(),
Container( Container(
padding: const EdgeInsets.symmetric( padding: const EdgeInsets.symmetric(
horizontal: 8, horizontal: 8,
@ -408,19 +397,29 @@ class _TablesScreenState extends State<TablesScreen> {
), ),
decoration: BoxDecoration( decoration: BoxDecoration(
color: getStatusColor(table.status), color: getStatusColor(table.status),
borderRadius: BorderRadius.circular( borderRadius: BorderRadius.circular(12),
12,
),
), ),
child: Text( child: Text(
getStatusLabel(table.status), getStatusLabel(table.status),
style: const TextStyle( style: const TextStyle(
color: Colors.white, color: Colors.white,
fontSize: 10, fontSize: 8,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w100,
), ),
), ),
), ),
Row(
children: [
Text(
table.nom,
style: const TextStyle(
fontWeight: FontWeight.w600,
fontSize: 16,
color: Colors.black87,
),
),
// const Spacer(),
], ],
), ),
const SizedBox(height: 8), const SizedBox(height: 8),

Loading…
Cancel
Save