getPadding function

EdgeInsetsGeometry getPadding({
  1. double? all,
  2. double? left,
  3. double? top,
  4. double? right,
  5. double? bottom,
})

This method is used to set padding responsively

Implementation

EdgeInsetsGeometry getPadding({
  double? all,
  double? left,
  double? top,
  double? right,
  double? bottom,
}) {
  return getMarginOrPadding(
    all: all,
    left: left,
    top: top,
    right: right,
    bottom: bottom,
  );
}