From d0687aa9242b2172ee0a80b278fb2c9c729e4ec2 Mon Sep 17 00:00:00 2001 From: Stephane Date: Sat, 2 Aug 2025 13:51:53 +0300 Subject: [PATCH] margin --- lib/pages/tables.dart | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/lib/pages/tables.dart b/lib/pages/tables.dart index 6d6b118..c01ff9d 100644 --- a/lib/pages/tables.dart +++ b/lib/pages/tables.dart @@ -390,6 +390,24 @@ class _TablesScreenState extends State { 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 { 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),