xxxxxxxxxx
SizedBox(
width: double.infinity,
height: 300,
child: Card(
elevation: 2,
child: Text("test")
),
)
xxxxxxxxxx
Container(
height: 500,
child: Card(
child: Image.network(
'https://placeimg.com/640/480/any', fit: BoxFit.fill,),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10.0),
),
elevation: 5,
margin: EdgeInsets.all(10),
),
),