You will find here the description of the SizedBox function and its attributes details

What is it?

SizedBox is a function to help you organize the layout of your view. It sets the size of the component passed as parameter with the given value. This is equivalent to set the property style.size of the component.

See how the structure is represented:

selfStyleComponentComponent to receive the style.
widthInt / Double / UnitValueWidth value.
heightInt / Double / UnitValueHeight value.

How to use it?

  width = 150,
  height = 150,
  self = Text("simple text")