SizedBox

SizedBox is a widget in Flutter that creates a box with a specified width, height, or both. It can be used to add empty spaces between widgets or control the size of widgets.

Example

SizedBox(
  width: 100.0,
  height: 50.0,
  child: ElevatedButton(
    onPressed: () {},
    child: Text('Click me!'),
  ),
)

This creates a button with a fixed width of 100.0 and a height of 50.0.