fromLTRB static method

EdgeInsets fromLTRB(
  1. double left,
  2. double top,
  3. double right,
  4. double bottom,
)

Create responsive padding from LTRB values

Implementation

static EdgeInsets fromLTRB(
  double left,
  double top,
  double right,
  double bottom,
) {
  return EdgeInsets.fromLTRB(
    left.w,
    top.h,
    right.w,
    bottom.h,
  );
}