p method

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

Wraps the widget in a Padding with the specified padding.

Implementation

Widget p(double v, [double? y]) =>
    Padding(padding: y == null ? v.p : v.px.merge(y.py), child: this);