如何使用边框半径对容器内的图像网络进行框匹配
Container(
width: 100,
height: 100,
child: Image.network(
snapshot.data!,
fit: BoxFit.cover,
),
),
如何使用边框半径对容器内的图像网络进行框匹配
Container(
width: 100,
height: 100,
child: Image.network(
snapshot.data!,
fit: BoxFit.cover,
),
),
ClipRRect(
borderRadius: BorderRadius.circular(8.0),
child: Container(
height: 100.0,
width: 100.0,
child: Image.network(
snapshot.data!,
height: 100.0,
width: 100.0,
),)
)