From c906d5ebe5e36202cade06508ac673a5791c4d4f Mon Sep 17 00:00:00 2001 From: efrilm Date: Mon, 4 Aug 2025 11:40:27 +0700 Subject: [PATCH] feat: update void dialog --- .../sales/dialog/void_dialog.dart | 37 ++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/lib/presentation/sales/dialog/void_dialog.dart b/lib/presentation/sales/dialog/void_dialog.dart index 696fd1d..e25e4ec 100644 --- a/lib/presentation/sales/dialog/void_dialog.dart +++ b/lib/presentation/sales/dialog/void_dialog.dart @@ -90,24 +90,27 @@ class _VoidDialogState extends State { ], ), if (widget.selectedItems.isNotEmpty) - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - 'Pesanan yang akan di void', - style: const TextStyle( - fontSize: 14, - fontWeight: FontWeight.w600, - color: AppColors.black, + Padding( + padding: const EdgeInsets.only(top: 16.0), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + 'Pesanan yang akan di void', + style: const TextStyle( + fontSize: 14, + fontWeight: FontWeight.w600, + color: AppColors.black, + ), ), - ), - SpaceHeight(12), - Column( - children: widget.selectedItems - .map((item) => _item(context, item)) - .toList(), - ), - ], + SpaceHeight(12), + Column( + children: widget.selectedItems + .map((item) => _item(context, item)) + .toList(), + ), + ], + ), ), SpaceHeight(16), CustomTextField(