setPaddingAll static method

dynamic setPaddingAll({
  1. dynamic widget,
  2. dynamic margin,
})

Implementation

static setPaddingAll({widget, margin}) {
  return Padding(
    padding: EdgeInsets.all(margin ?? 0),
    child: widget,
  );
}