margin property
The amount to margin the child in each dimension.
If this is set to an EdgeInsetsDirectional object, then textDirection
must not be null.
Implementation
@override
EdgeInsets get margin {
EdgeInsets insets = EdgeInsets.only(
left: marginLeft.computedValue,
right: marginRight.computedValue,
bottom: marginBottom.computedValue,
top: marginTop.computedValue
).resolve(TextDirection.ltr);
return insets;
}