pOnly method

Padding pOnly({
  1. double top = 0,
  2. double bottom = 0,
  3. double left = 0,
  4. double right = 0,
})

get padding only on given values non-zero.

Implementation

Padding pOnly({
  double top = 0,
  double bottom = 0,
  double left = 0,
  double right = 0,
}) =>
    _pad(top: top, bottom: bottom, left: left, right: right);