px property

set px (double v)

Implementation

set px(double v) {
  final l = _latest;

  if (l is Padding) return _applyPadding(l.padding, left: v, right: v);

  _add(
    (w) => Padding(padding: EdgeInsets.symmetric(horizontal: v), child: w),
  );
}