layoutMargin property

ScreenObjectEdgeInsets layoutMargin

The margin applied around this object during layout.

This value affects how the object is positioned relative to its parent and sibling objects.

Implementation

ScreenObjectEdgeInsets get layoutMargin => _layoutMargin;
void layoutMargin=(ScreenObjectEdgeInsets value)

Sets the layout margin for this object.

Changing this value invalidates the layout.

Implementation

set layoutMargin(ScreenObjectEdgeInsets value) {
  if (_layoutMargin == value) return;
  _layoutMargin = value;
  invalidateLayout();
}