Margin
Applies an outer margin to its single child by the given EdgeInsets. Maps to margin applied directly to the child’s containing VisualElement.
Constructor
Margin
Creates an Margin element.
| Parameter | Description |
|---|---|
margin | The margin insets to apply. |
child | The child element to apply margin to. Must not be null. |
key | An optional key for reconciliation identity. |
Properties
Insets
The amount of margin to apply on each edge.
Methods
ShouldRebuild
Last updated on