SizedBox(
width: 200.0,
height: 200.0,
child: Card(child: Text('Hello World!')),
),
// Creates a box with the specified size.
SizedBox.fromSize(
size: Size.square(200.0),
child: Card(child: Text('Hello World!')),
),