Why is This Happening?
Solution
To make the image fill the available space, wrap it with an Expanded widget so it behaves like the Container in ContainerCard:
class ImageCard extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Card(
child: IntrinsicHeight(
child: Row(
children: [
Expanded(
child: Image.network(
'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg',
fit: BoxFit.fill,
),
),
Expanded(
child: Container(color: Colors.amber, height: 200),
),
],
),
),
);
}
}
Why This Works