flutter sizedbox max width code example
Example: set width card flutter
SizedBox(
width: double.infinity,
height: 300,
child: Card(
elevation: 2,
child: Text("test")
),
)
SizedBox(
width: double.infinity,
height: 300,
child: Card(
elevation: 2,
child: Text("test")
),
)