Browse Source

margin

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

39
lib/pages/tables.dart

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

Loading…
Cancel
Save