pOnly method

Widget pOnly({
  1. double l = 0.0,
  2. double t = 0.0,
  3. double r = 0.0,
  4. double b = 0.0,
})

Applies padding to specific sides of the widget.

Implementation

Widget pOnly(
        {double l = 0.0, double t = 0.0, double r = 0.0, double b = 0.0}) =>
    Padding(
        padding: EdgeInsets.only(left: l, top: t, right: r, bottom: b),
        child: this);