p method

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

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

Implementation

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