From 60028cdf786639acac55f5402b8abae16c4a53f1 Mon Sep 17 00:00:00 2001 From: hannathkadher Date: Thu, 16 Jan 2025 02:03:08 +0400 Subject: [PATCH] only appears the separator if there is both space model and product --- .../space_model/widgets/space_model_card_widget.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/pages/spaces_management/space_model/widgets/space_model_card_widget.dart b/lib/pages/spaces_management/space_model/widgets/space_model_card_widget.dart index ac8b49d0..323d7ac0 100644 --- a/lib/pages/spaces_management/space_model/widgets/space_model_card_widget.dart +++ b/lib/pages/spaces_management/space_model/widgets/space_model_card_widget.dart @@ -81,12 +81,12 @@ class SpaceModelCardWidget extends StatelessWidget { ), ), ), + if(productTagCount.isNotEmpty) Container( - width: 1.0, // Thickness of the line - color: ColorsManager.softGray, // Subtle grey color - margin: const EdgeInsets.symmetric( - vertical: 6.0), // Top and bottom spacing - ), // Right Container + width: 1.0, + color: ColorsManager.softGray, + margin: const EdgeInsets.symmetric(vertical: 6.0), + ), Expanded( flex: 1, // Distribute space proportionally child: Container(