paddingAll method

Panel paddingAll({
  1. int? top,
  2. int? right,
  3. int? bottom,
  4. int? left,
})

Sets individual padding values.

Implementation

Panel paddingAll({int? top, int? right, int? bottom, int? left}) {
  if (top != null) _paddingTop = top;
  if (right != null) _paddingRight = right;
  if (bottom != null) _paddingBottom = bottom;
  if (left != null) _paddingLeft = left;
  return this;
}