ClipRRect(
borderRadius: BorderRadius.circular(8.0),
child: Image.network(
subject['images']['large'],
height: 150.0,
width: 100.0,
),
)
ClipRRect(
borderRadius: BorderRadius.circular(8.0),
child: Image.asset(
'assets/cat.jpg',
width: 110.0,
height: 110.0,
fit: BoxFit.fill,
),
),
Container(
height: 200.0,
child: ClipRRect(
borderRadius: BorderRadius.circular(15.0),
child: Image.network(
"https://placeimg.com/640/480/any",
fit: BoxFit.cover,
),
),
),
ClipRRect(
borderRadius: BorderRadius.circular(8.0),
child: Image.network(
subject['images']['large'],
height: 150.0,
width: 100.0,
),
)
// Learn Flutter inside VS Code at sideguide.dev/courses/flutter?ref=grepper