fix(upload_image): 图片组件新增圆角

This commit is contained in:
2026-04-16 17:12:56 +08:00
parent faeeb52653
commit c585d5ce0d

View File

@@ -133,9 +133,12 @@ class _UploadImagesState extends State<UploadImages> {
}) { }) {
return GestureDetector( return GestureDetector(
onTap: () => widget.oneTap?.call(index), onTap: () => widget.oneTap?.call(index),
child: CustomerImagesNetworking( child: ClipRRect(
imageUrl: imageUrl, borderRadius: BorderRadiusGeometry.circular(20.r),
fit: widget.fit ?? BoxFit.cover, child: CustomerImagesNetworking(
imageUrl: imageUrl,
fit: widget.fit ?? BoxFit.cover,
),
), ),
); );
} }