From 9b00c0c158e8f586127a8fc9b12c012215595140 Mon Sep 17 00:00:00 2001 From: Sikander Saleem Date: Tue, 20 Jan 2026 18:06:21 +0300 Subject: [PATCH] improvements --- .../delivery_inspection_form_view.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/modules/asset_delivery_module/pages/delivery_inspection/delivery_inspection_form_view.dart b/lib/modules/asset_delivery_module/pages/delivery_inspection/delivery_inspection_form_view.dart index c3acbdf4..2ac68d13 100644 --- a/lib/modules/asset_delivery_module/pages/delivery_inspection/delivery_inspection_form_view.dart +++ b/lib/modules/asset_delivery_module/pages/delivery_inspection/delivery_inspection_form_view.dart @@ -121,8 +121,6 @@ class _DeliveryInspectionFormViewState extends State children: [ Row( children: [ - AppFilledButton(buttonColor: AppColor.primary10, label: 'Save'.addTranslation, maxWidth: true, onPressed: _saveTap).expanded, - 8.width, AppFilledButton( buttonColor: AppColor.primary10, label: 'Attachments'.addTranslation, @@ -130,9 +128,11 @@ class _DeliveryInspectionFormViewState extends State onPressed: () { HelperFunction.attachmentTap(context: context, assetDeliveryProvider: assetDeliveryProvider!, deliveryTableItemId: widget.deliveryTableModel.id); }).expanded, + 12.width, + AppFilledButton(buttonColor: AppColor.primary10, label: 'Save'.addTranslation, maxWidth: true, onPressed: _saveTap).expanded, ], ), - 16.height, + 12.height, Row( children: [ AppFilledButton( @@ -521,7 +521,7 @@ class _DeliveryInspectionFormViewState extends State onTap: onTap, borderRadius: BorderRadius.circular(12), child: Container( - padding: const EdgeInsets.all(14), + padding: const EdgeInsets.all(12), decoration: BoxDecoration( color: AppColor.fieldBgColor(context), borderRadius: BorderRadius.circular(12), @@ -530,6 +530,7 @@ class _DeliveryInspectionFormViewState extends State children: [ Column( crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, children: [ Text(title, style: AppTextStyles.textFieldLabelStyle), 6.height,