margin method

void margin(
  1. Object value
)

Replaces margin on supported widgets.

Margin is applied structurally — the widget is wrapped in a parent "margin" container whose padding matches the requested value. Re-runs reuse the existing wrapper instead of nesting.

Implementation

void margin(Object value) {
  _margin = value;
}