diff --git a/lib/customWidget/ItemWidgetFactory.dart b/lib/customWidget/ItemWidgetFactory.dart index f42630b..466d3e0 100644 --- a/lib/customWidget/ItemWidgetFactory.dart +++ b/lib/customWidget/ItemWidgetFactory.dart @@ -40,6 +40,7 @@ class ListItemFactory { ], ), if (isRight) + Row( mainAxisSize: MainAxisSize.min, children: [ diff --git a/lib/pages/home/SafetyCommitment/commitment_workshop_detail_page.dart b/lib/pages/home/SafetyCommitment/commitment_workshop_detail_page.dart index e3e67f8..4c61411 100644 --- a/lib/pages/home/SafetyCommitment/commitment_workshop_detail_page.dart +++ b/lib/pages/home/SafetyCommitment/commitment_workshop_detail_page.dart @@ -297,7 +297,10 @@ class _CommitmentWorkshopDetailPageState extends State ), const SizedBox(width: 15), if (pd['SIGN_PATH'] != null) - Image.network(ApiService.baseImgPath+pd['SIGN_PATH'],width: 230,height: 150,fit: BoxFit.contain,), + Expanded( + child: Image.network(ApiService.baseImgPath+pd['SIGN_PATH'],width: 230,height: 150,fit: BoxFit.contain,), + ), ], ),