m method

VContainer m(
  1. double v, [
  2. double? y
])

Sets all margins (v) or horizontal (v) and vertical (y) margins.

Implementation

VContainer m(double v, [double? y]) =>
    _copyWithMargin(y == null ? v.p : v.px.merge(y.py));