pOnly method

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

get padding only on given values non-zero.

Implementation

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