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

What is it?

Margin is a function to help you organize the layout of your view. It creates a space between the component passed as parameter and the outside content by setting its margins to the given value.

See how the structure is represented:

selfStyleComponentComponent to receive the style.
marginEdgeValueMargin to be applied to the component.

How to use it?

  margin = EdgeValue.all(40),
  self = Text("simple text")