|
@@ -484,14 +484,9 @@ class _ImageGridItemState extends State<ImageGridItem> {
|
|
children: [
|
|
children: [
|
|
InkWell(
|
|
InkWell(
|
|
onTap: widget.onImageSelect,
|
|
onTap: widget.onImageSelect,
|
|
- child: DecoratedBox(
|
|
|
|
- decoration: BoxDecoration(
|
|
|
|
- image: DecorationImage(
|
|
|
|
- image: FileImage(File(widget.imagePath)),
|
|
|
|
- fit: BoxFit.cover,
|
|
|
|
- ),
|
|
|
|
- borderRadius: Corners.s8Border,
|
|
|
|
- ),
|
|
|
|
|
|
+ child: ClipRRect(
|
|
|
|
+ borderRadius: Corners.s8Border,
|
|
|
|
+ child: Image.file(File(widget.imagePath), fit: BoxFit.cover),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
if (showDeleteButton)
|
|
if (showDeleteButton)
|