Container(
margin: EdgeInsets.only(left: 0, right: 5, bottom: 0, top: 5),
//图片切圆
child: ClipRRect(
borderRadius: BorderRadius.circular(2),
child: Image.file(
File(imgData[index]),
fit: BoxFit.cover,
width: double.infinity,
height: double.infinity,
),
),
),
网友评论