how to make the card take the whole width of the screen in flutter code example
Example: set width card flutter
SizedBox(
width: double.infinity,
height: 300,
child: Card(
elevation: 2,
child: Text("test")
),
)